Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
cefaa652
Commit
cefaa652
authored
Jun 04, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in comment.
parent
c02c3f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Compiler/ParseTreeTransforms.py
Cython/Compiler/ParseTreeTransforms.py
+1
-1
No files found.
Cython/Compiler/ParseTreeTransforms.py
View file @
cefaa652
...
...
@@ -2441,7 +2441,7 @@ class AdjustDefByDirectives(CythonTransform, SkipDeclarations):
return_type_node
=
self
.
directives
.
get
(
'returns'
)
if
return_type_node
is
None
and
self
.
directives
[
'annotation_typing'
]:
return_type_node
=
node
.
return_type_annotation
# for Python anntations, prefer safe exception handling by default
# for Python ann
o
tations, prefer safe exception handling by default
if
return_type_node
is
not
None
and
except_val
is
None
:
except_val
=
(
None
,
True
)
# except *
elif
except_val
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment