Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
beaa5094
Commit
beaa5094
authored
Aug 26, 2015
by
Yury Selivanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Better comment for tp_as_async slot
parent
87674ec7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Doc/includes/typestruct.h
Doc/includes/typestruct.h
+2
-1
Include/object.h
Include/object.h
+2
-1
No files found.
Doc/includes/typestruct.h
View file @
beaa5094
...
...
@@ -9,7 +9,8 @@ typedef struct _typeobject {
printfunc
tp_print
;
getattrfunc
tp_getattr
;
setattrfunc
tp_setattr
;
PyAsyncMethods
*
tp_as_async
;
/* formerly known as tp_compare or tp_reserved */
PyAsyncMethods
*
tp_as_async
;
/* formerly known as tp_compare (Python 2)
or tp_reserved (Python 3) */
reprfunc
tp_repr
;
/* Method suites for standard classes */
...
...
Include/object.h
View file @
beaa5094
...
...
@@ -351,7 +351,8 @@ typedef struct _typeobject {
printfunc
tp_print
;
getattrfunc
tp_getattr
;
setattrfunc
tp_setattr
;
PyAsyncMethods
*
tp_as_async
;
/* formerly known as tp_compare or tp_reserved */
PyAsyncMethods
*
tp_as_async
;
/* formerly known as tp_compare (Python 2)
or tp_reserved (Python 3) */
reprfunc
tp_repr
;
/* Method suites for standard classes */
...
...
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