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
94fedf9b
Commit
94fedf9b
authored
Aug 17, 2005
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand the API notes.
parent
0c230b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Doc/api/concrete.tex
Doc/api/concrete.tex
+5
-4
No files found.
Doc/api/concrete.tex
View file @
94fedf9b
...
@@ -2918,8 +2918,8 @@ or the abstract number protocol (including
...
@@ -2918,8 +2918,8 @@ or the abstract number protocol (including
\cfunction
{
PyNumber
_
Or()
}
,
\cfunction
{
PyNumber
_
Xor()
}
,
\cfunction
{
PyNumber
_
Or()
}
,
\cfunction
{
PyNumber
_
Xor()
}
,
\cfunction
{
PyNumber
_
InplaceAdd()
}
,
\cfunction
{
PyNumber
_
InplaceSubtract()
}
,
\cfunction
{
PyNumber
_
InplaceAdd()
}
,
\cfunction
{
PyNumber
_
InplaceSubtract()
}
,
\cfunction
{
PyNumber
_
InplaceOr()
}
, and
\cfunction
{
PyNumber
_
InplaceXor()
}
).
\cfunction
{
PyNumber
_
InplaceOr()
}
, and
\cfunction
{
PyNumber
_
InplaceXor()
}
).
Note,
the latter are also useful for copying (
\code
{
c=s+s
}
) and
clearing
Note,
\cfunction
{
PyNumber
_
InplaceSubtract()
}
is also useful
clearing
(
\code
{
s-=s
}
).
clearing a set
(
\code
{
s-=s
}
).
\begin{ctypedesc}
{
PySetObject
}
\begin{ctypedesc}
{
PySetObject
}
This subtype of
\ctype
{
PyObject
}
is used to hold the internal data for
This subtype of
\ctype
{
PyObject
}
is used to hold the internal data for
...
@@ -2929,7 +2929,7 @@ Note, the latter are also useful for copying (\code{c=s+s}) and clearing
...
@@ -2929,7 +2929,7 @@ Note, the latter are also useful for copying (\code{c=s+s}) and clearing
block of memory for medium and large sized sets (much like list storage).
block of memory for medium and large sized sets (much like list storage).
None of the fields of this structure should be considered public and
None of the fields of this structure should be considered public and
are subject to change. All access should be done through the
are subject to change. All access should be done through the
documented API
.
documented API
rather than by manipulating the values in the structure.
\end{ctypedesc}
\end{ctypedesc}
...
@@ -2967,7 +2967,8 @@ Likewise, the constructor functions work with any iterable Python object.
...
@@ -2967,7 +2967,8 @@ Likewise, the constructor functions work with any iterable Python object.
\var
{
iterable
}
. The
\var
{
iterable
}
may be
\NULL
{}
to create a
\var
{
iterable
}
. The
\var
{
iterable
}
may be
\NULL
{}
to create a
new empty set. Returns the new set on success or
\NULL
{}
on
new empty set. Returns the new set on success or
\NULL
{}
on
failure. Raises
\exception
{
TypeError
}
if
\var
{
iterable
}
is
failure. Raises
\exception
{
TypeError
}
if
\var
{
iterable
}
is
not actually iterable.
not actually iterable. The constructor is also useful for
copying a set (
\code
{
c=set(s)
}
).
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyFrozenSet
_
New
}{
PyObject *iterable
}
\begin{cfuncdesc}
{
PyObject*
}{
PyFrozenSet
_
New
}{
PyObject *iterable
}
...
...
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