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
59d6d2db
Commit
59d6d2db
authored
Apr 12, 2013
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#17688: fix declaration for richcmp example in the docs.
Thanks to Daniel Mullner
parent
c2ecac47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/extending/newtypes.rst
Doc/extending/newtypes.rst
+1
-1
No files found.
Doc/extending/newtypes.rst
View file @
59d6d2db
...
@@ -1233,7 +1233,7 @@ if an exception was set.
...
@@ -1233,7 +1233,7 @@ if an exception was set.
Here is a sample implementation, for a datatype that is considered equal if the
Here is a sample implementation, for a datatype that is considered equal if the
size of an internal pointer is equal::
size of an internal pointer is equal::
static
int
static
PyObject *
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)
{
{
PyObject *result;
PyObject *result;
...
...
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