diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:11:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:11:56 (GMT) |
commit | 60203b41b03d03361754d264543d5fbe6259eb25 (patch) | |
tree | 005d0d6be6437244ae360ebc0d65fa7b149a8093 /Doc/whatsnew/3.1.rst | |
parent | 64a41edb039afee683d69bd6f72e3709ff11bd93 (diff) | |
download | cpython-60203b41b03d03361754d264543d5fbe6259eb25.zip cpython-60203b41b03d03361754d264543d5fbe6259eb25.tar.gz cpython-60203b41b03d03361754d264543d5fbe6259eb25.tar.bz2 |
Migrate to Sphinx 1.0 C language constructs.
Diffstat (limited to 'Doc/whatsnew/3.1.rst')
-rw-r--r-- | Doc/whatsnew/3.1.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst index cebb829..64ae1c1 100644 --- a/Doc/whatsnew/3.1.rst +++ b/Doc/whatsnew/3.1.rst @@ -497,21 +497,21 @@ Changes to Python's build process and to the C API include: (Contributed by Mark Dickinson; :issue:`4258`.) -* The :cfunc:`PyLong_AsUnsignedLongLong()` function now handles a negative +* The :c:func:`PyLong_AsUnsignedLongLong()` function now handles a negative *pylong* by raising :exc:`OverflowError` instead of :exc:`TypeError`. (Contributed by Mark Dickinson and Lisandro Dalcrin; :issue:`5175`.) -* Deprecated :cfunc:`PyNumber_Int`. Use :cfunc:`PyNumber_Long` instead. +* Deprecated :c:func:`PyNumber_Int`. Use :c:func:`PyNumber_Long` instead. (Contributed by Mark Dickinson; :issue:`4910`.) -* Added a new :cfunc:`PyOS_string_to_double` function to replace the - deprecated functions :cfunc:`PyOS_ascii_strtod` and :cfunc:`PyOS_ascii_atof`. +* Added a new :c:func:`PyOS_string_to_double` function to replace the + deprecated functions :c:func:`PyOS_ascii_strtod` and :c:func:`PyOS_ascii_atof`. (Contributed by Mark Dickinson; :issue:`5914`.) -* Added :ctype:`PyCapsule` as a replacement for the :ctype:`PyCObject` API. +* Added :c:type:`PyCapsule` as a replacement for the :c:type:`PyCObject` API. The principal difference is that the new type has a well defined interface for passing typing safety information and a less complicated signature for calling a destructor. The old type had a problematic API and is now |