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
ce3caf2e
Commit
ce3caf2e
authored
Feb 12, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor markup improvements
parent
70a6b498
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+7
-7
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
ce3caf2e
...
...
@@ -479,15 +479,15 @@ Changes to Python's build process and to the C API include:
values from extension functions:
\csimplemacro
{
Py
_
RETURN
_
NONE
}
,
\csimplemacro
{
Py
_
RETURN
_
TRUE
}
, and
\csimplemacro
{
Py
_
RETURN
_
FALSE
}
.
\item
A new function,
\cfunction
{
PyTuple
_
Pack(
N, obj1, obj2, ...
,
objN)
}
, constructs tuples from a variable length argument list of
Python objects.
\item
A new function,
\cfunction
{
PyTuple
_
Pack(
\var
{
N
}
,
\var
{
obj1
}
,
\var
{
obj2
}
, ...,
\var
{
objN
}
)
}
, constructs tuples from a variable
length argument list of
Python objects.
\item
A new function,
\cfunction
{
PyDict
_
Contains(
d, k)
}
, implements
fast dictionary lookups without masking exceptions raised during the
look-up process.
\item
A new function,
\cfunction
{
PyDict
_
Contains(
\var
{
d
}
,
\var
{
k
}
)
}
,
implements fast dictionary lookups without masking exceptions raised
during the
look-up process.
\item
A new method flag,
\co
de
{
METH
_
COEXISTS
}
, allows a function
\item
A new method flag,
\co
nstant
{
METH
_
COEXISTS
}
, allows a function
defined in slots to co-exist with a PyCFunction having the same name.
This can halve the access to time to a method such as
\method
{
set.
__
contains
__
()
}
...
...
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