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
eb3aa564
Commit
eb3aa564
authored
Dec 11, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A number of small adjustments.
parent
f09b5a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
Doc/api/concrete.tex
Doc/api/concrete.tex
+12
-4
No files found.
Doc/api/concrete.tex
View file @
eb3aa564
...
...
@@ -1370,7 +1370,7 @@ against an object's buffer interface, returning data from the target
object.
More information on the buffer interface is provided in the section
``Buffer Object Structures'' (section
\ref
{
buffer-structs
}
), under
``Buffer Object Structures'' (section
~
\ref
{
buffer-structs
}
), under
the description for
\ctype
{
PyBufferProcs
}
\ttindex
{
PyBufferProcs
}
.
A ``buffer object'' is defined in the
\file
{
bufferobject.h
}
header
...
...
@@ -1857,6 +1857,7 @@ def PyDict_MergeFromSeq2(a, seq2, override):
\versionadded
{
2.2
}
\end{cfuncdesc}
\section
{
Other Objects
\label
{
otherObjects
}}
\subsection
{
File Objects
\label
{
fileObjects
}}
...
...
@@ -2188,8 +2189,11 @@ returned.
\subsection
{
Descriptor Objects
\label
{
descriptor-objects
}}
``Descriptors'' are objects that describe some attribute of an object.
They are found in the dictionary of type objects.
\begin{cvardesc}
{
PyTypeObject
}{
PyProperty
_
Type
}
The type object for
a descriptor
.
The type object for
the built-in descriptor types
.
\versionadded
{
2.2
}
\end{cvardesc}
...
...
@@ -2323,7 +2327,7 @@ acts as a proxy for the original object as much as it can.
\obindex
{
CObject
}
Refer to
\emph
{
Extending and Embedding the Python Interpreter
}
,
section
1.12 (``Providing a C API for an Extension Module),
for more
section
~1.12, ``Providing a C API for an Extension Module,''
for more
information on using these objects.
...
...
@@ -2341,7 +2345,7 @@ information on using these objects.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyCObject
_
FromVoidPtr
}{
void* cobj,
void (*destr)(void *)
}
void (*destr)(void *)
}
Creates a
\ctype
{
PyCObject
}
from the
\code
{
void *
}
\var
{
cobj
}
. The
\var
{
destr
}
function will be called when the object is reclaimed,
unless it is
\NULL
.
...
...
@@ -2378,6 +2382,10 @@ itself. This de-referencing of the cell object requires support from
the generated byte-code; these are not automatically de-referenced
when accessed. Cell objects are not likely to be useful elsewhere.
\begin{ctypedesc}
{
PyCellObject
}
The C structure used for cell objects.
\end{ctypedesc}
\begin{cvardesc}
{
PyTypeObject
}{
PyCell
_
Type
}
The type object corresponding to cell objects
\end{cvardesc}
...
...
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