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
31316792
Commit
31316792
authored
Nov 25, 2002
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
James Henstridge pointed out a misleading comment.
parent
1a54d715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
Include/abstract.h
Include/abstract.h
+6
-10
No files found.
Include/abstract.h
View file @
31316792
...
...
@@ -384,24 +384,20 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
int PyObject_IsTrue(PyObject *o);
Returns 1 if the object, o, is considered to be true,
and
0 otherwise. This is equivalent to the Python expression:
not not o
Returns 1 if the object, o, is considered to be true,
0 if o is
considered to be false and -1 on failure. This is equivalent to the
Python expression:
not not o
This function always succeeds.
*/
/* Implemented elsewhere:
int PyObject_Not(PyObject *o);
Returns 0 if the object, o, is considered to be true,
and
1 otherwise. This is equivalent to the Python expression:
not o
Returns 0 if the object, o, is considered to be true,
1 if o is
considered to be false and -1 on failure. This is equivalent to the
Python expression:
not o
This function always succeeds.
*/
PyAPI_FUNC
(
PyObject
*
)
PyObject_Type
(
PyObject
*
o
);
...
...
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