Commit Graph

378 Commits

Author SHA1 Message Date
Neal Norwitz
aea9bca79d Backport: SF bug #1323739, C API doc for PySequence_Tuple duplicated 2005-10-12 03:59:56 +00:00
Skip Montanaro
7bd3306d1a backport Py_UNICODE clarification 2005-10-10 22:03:12 +00:00
Georg Brandl
35425f10ef backport of bugfix [ 1306449 ] PyString_AsStringAndSize() return value documented wrong 2005-09-28 12:53:22 +00:00
Georg Brandl
bcafbbe8e2 fix typo 2005-09-15 11:16:23 +00:00
Georg Brandl
93660676bc - Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	Doc/api/concrete.tex
CVS: ----------------------------------------------------------------------
2005-09-03 07:27:37 +00:00
Georg Brandl
ea2578404f backport bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated 2005-07-17 20:05:26 +00:00
Brett Cannon
8d751fa05e Fix name from PyDate_FromDateAndTime to PyDateTime_FromDateAndTime.
Closes bug #1124278.
2005-02-17 05:16:19 +00:00
Brett Cannon
150d61d37e Update refences to "Macintosh" to reflect the state of affairs for OS X and not
Mac OS 9.

Backport of patch #1095802.
2005-02-13 22:56:41 +00:00
Fred Drake
96ee1c4b8a Clean up discussion of new C thread idiom
(closes SF patch #1031233; modified)
2005-01-19 04:13:14 +00:00
Raymond Hettinger
1498d63795 SF Patch #1093896: miscellaneous doc typos 2005-01-01 00:34:56 +00:00
Raymond Hettinger
e0c80c33af SF bug #1082944: Incorrect docs for PyUnicode_TailMatch
* Note correct return type is int.
* Note that -1 returned on failure.
2004-12-10 17:13:51 +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
Tim Peters
7f468f29f4 SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00
Nicholas Bastin
975e725fc7 Fix typo in PyDict_Items doc 2004-09-29 21:39:26 +00:00
Walter Dörwald
69652035bc SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support
decoding incomplete input (when the input stream is temporarily exhausted).
codecs.StreamReader now implements buffering, which enables proper
readline support for the UTF-16 decoders. codecs.StreamReader.read()
has a new argument chars which specifies the number of characters to
return. codecs.StreamReader.readline() and codecs.StreamReader.readlines()
have a new argument keepends. Trailing "\n"s will be stripped from the lines
if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and
PyUnicode_DecodeUTF16Stateful.
2004-09-07 20:24:22 +00:00
Martin v. Löwis
336e85f56a Patch #900727: Add Py_InitializeEx to allow embedding without signals. 2004-08-19 11:31:58 +00:00
Andrew M. Kuchling
f54ac7e0ee Spelling fix 2004-08-10 19:01:50 +00:00
Andrew M. Kuchling
4eb1a00cc1 [Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:
PyObject* o -> PyObject *o to be consistent with the
rest of the file
- Correct markup for Py_True
- Remove duplicate description of PyBool_Check
2004-08-07 20:19:24 +00:00
Andrew M. Kuchling
672d2ba773 Use LaTeX markup 2004-08-07 20:17:48 +00:00
Andrew M. Kuchling
fe80b63663 [Bug #991883] Document calling condition 2004-08-07 17:53:05 +00:00
Hye-Shik Chang
e9ddfbb412 SF #989185: Drop unicode.iswide() and unicode.width() and add
unicodedata.east_asian_width().  You can still implement your own
simple width() function using it like this:
    def width(u):
        w = 0
        for c in unicodedata.normalize('NFC', u):
            cwidth = unicodedata.east_asian_width(c)
            if cwidth in ('W', 'F'): w += 2
            else: w += 1
        return w
2004-08-04 07:38:35 +00:00
Fred Drake
2be406bd9f let's avoid the extra nesting where reasonable 2004-08-03 16:02:35 +00:00
Neal Norwitz
7fdd92f31f Fix typo though 2004-08-02 21:56:33 +00:00
Raymond Hettinger
829d6c4138 Fix doubled word. 2004-08-02 08:36:07 +00:00
Tim Peters
fd7dc5169c Typo repair. 2004-08-02 04:30:37 +00:00