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
d358afee
Commit
d358afee
authored
Dec 23, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document 'N' format character for Py_BuildValue -- like 'O' but doesn't INCREF.
parent
d341500d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Doc/ext/ext.tex
Doc/ext/ext.tex
+6
-1
No files found.
Doc/ext/ext.tex
View file @
d358afee
\documentclass
{
manual
}
\documentclass
{
manual
}
% XXX PM
Modulator
% XXX PM
explain how to add new types to Python
\title
{
Extending and Embedding the Python Interpreter
}
\title
{
Extending and Embedding the Python Interpreter
}
...
@@ -942,6 +942,11 @@ exception. If no exception has been raised yet,
...
@@ -942,6 +942,11 @@ exception. If no exception has been raised yet,
\item
[\samp{S} (object) {[PyObject *]
}
]
\item
[\samp{S} (object) {[PyObject *]
}
]
Same as
\samp
{
O
}
.
Same as
\samp
{
O
}
.
\item
[\samp{N} (object) {[PyObject *]
}
]
Same as
\samp
{
O
}
, except it doesn't increment the reference count on
the object. Useful when the object is created by a call to an object
constructor in the argument list.
\item
[\samp{O\&} (object) {[\var{converter}, \var{anything}]
}
]
\item
[\samp{O\&} (object) {[\var{converter}, \var{anything}]
}
]
Convert
\var
{
anything
}
to a Python object through a
\var
{
converter
}
Convert
\var
{
anything
}
to a Python object through a
\var
{
converter
}
function. The function is called with
\var
{
anything
}
(which should be
function. The function is called with
\var
{
anything
}
(which should be
...
...
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