Commit Graph

81 Commits

Author SHA1 Message Date
George Yoshida
9dea97a224 fix markup glitch 2006-04-28 16:09:45 +00:00
Martin v. Löwis
0bc2ab9a20 Patch #837242: id() for large ptr should return a long. 2006-04-10 20:28:17 +00:00
Georg Brandl
4dce8e4e69 Bug #1464658: make clear that PyList_GetItem doesn't take negative indices. 2006-04-06 12:45:51 +00:00
Walter Dörwald
c44e14eba0 Fix typos. 2006-03-31 11:03:57 +00:00
Barry Warsaw
176014ffad SF patch #1458476 with modifications based on discussions in python-dev. This
adds the following API calls: PySet_Clear(), _PySet_Next(), and
_PySet_Update().  The latter two are considered non-public.  Tests and
documentation (for the public API) are included.
2006-03-30 22:45:35 +00:00
Fred Drake
3e482d9a95 merge revision 43437 from the release24-maint branch:
- update the refcount information (late, but not a bad thing to do...)
- clarify that PyGen_New() steals a reference
2006-03-30 02:58:38 +00:00
Georg Brandl
b6e92c40a9 Document change made to number of preallocated integers. 2006-03-27 22:09:16 +00:00
Raymond Hettinger
66760f87b5 Show an example of calling a named set method. 2006-03-20 18:35:55 +00:00
Martin v. Löwis
3b19754079 Document new Py_ssize_t API. 2006-03-01 05:47:11 +00:00
Martin v. Löwis
29fafd8708 Make documentation match the implementation. 2006-03-01 05:16:03 +00:00
Georg Brandl
b518d8c7d7 Fix casing of function names. 2006-02-22 11:46:55 +00:00
Georg Brandl
9b743f514c Bug #1013800: document PyFunction_* functions 2006-02-20 12:57:53 +00:00
Marc-André Lemburg
df4f6e9fa6 Clarify the docs for Py_UNICODE. 2005-10-10 19:08:41 +00:00
Walter Dörwald
d1c1e10f70 Part of SF patch #1313939: Speedup charmap decoding by extending
PyUnicode_DecodeCharmap() the accept a unicode string as the mapping
argument which is used as a mapping table.

This code isn't used by any of the codecs yet.
2005-10-06 20:29:57 +00:00
Georg Brandl
e53475ddd1 bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrong 2005-09-28 12:53:12 +00:00
Georg Brandl
99363b6a19 - Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")
2005-09-03 07:27:26 +00:00
Raymond Hettinger
94fedf9bfd Expand the API notes. 2005-08-17 12:23:45 +00:00
Raymond Hettinger
0c230b9dac Note that the PyNumber protocol can access most set methods directly. 2005-08-17 10:05:22 +00:00
Raymond Hettinger
c47e01d020 Numerous fix-ups to C API and docs. Added tests for C API. 2005-08-16 10:44:15 +00:00
Raymond Hettinger
beb3101b05 Add a C API for sets and frozensets. 2005-08-16 03:47:52 +00:00
Neil Schemenauer
c49322951f Fix grammar (it's -> its). 2005-06-18 17:54:13 +00:00
Brett Cannon
5bbe6ad2b5 Fix name for PyDateTime_FromDateAndTime.
Closes bug #1124278.
2005-02-17 05:17:17 +00:00
Raymond Hettinger
8ef9b3e527 SF bug #1082944: Incorrect docs for PyUnicode_TailMatch
* Note correct return type is int.
* Note that -1 returned on failure.
2004-12-10 17:12:32 +00:00
Marc-André Lemburg
a9cadcd41b Correct the handling of 0-termination of PyUnicode_AsWideChar()
and its usage in PyLocale_strcoll().

Clarify the documentation on this.

Thanks to Andreas Degert for pointing this out.
2004-11-22 13:02:31 +00:00
Nicholas Bastin
975e725fc7 Fix typo in PyDict_Items doc 2004-09-29 21:39:26 +00:00