Andrew M. Kuchling
fe9ea4fd5e
[Bug #984017 ] Incorrect prototype, fixed by Timothy Stranex
2004-07-07 13:08:47 +00:00
Andrew M. Kuchling
e4cd47de4a
[Bug #936837 ] Add missing word
2004-06-05 19:01:47 +00:00
Raymond Hettinger
202b6fbc13
SF bug #936827 : PyNumber_And() 's description
...
Fix typo.
2004-04-17 11:59:55 +00:00
Raymond Hettinger
f29d58a80b
Fix small factual error.
2004-01-04 03:12:46 +00:00
Raymond Hettinger
8e784de242
SF patch #838938 : Typos in the docs (Extending/Embedding + Python/C API)
...
(Contributed by Florent Rougon.)
2003-12-07 11:43:56 +00:00
Fred Drake
1e65e26076
backport Brett's markup fix from revision 1.28:
...
add missing {} after \NULL
2003-09-07 02:26:54 +00:00
Raymond Hettinger
b70e0dd4b0
SF patch #783807 : Clarify PySequence_Setitem ref counting
...
(Contributed by Jay T Miller.)
2003-08-09 04:38:25 +00:00
Raymond Hettinger
2ed6dff796
As discussed on python-dev, revised docs to note that
...
PyObject_IsTrue() can have an error result.
Also, added missing docs for PyObject_Not().
Will backport.
2003-04-16 17:28:12 +00:00
Fred Drake
12dd7b12c6
Minor markup adjustments.
2003-04-09 18:15:57 +00:00
Guido van Rossum
6db771871e
Try to discourage use of PyObject_Type().
2003-04-09 18:02:23 +00:00
Fred Drake
f536827c65
Include version annotation for PyObject_Call().
2003-01-25 07:48:13 +00:00
Walter Dörwald
d9a6ad3beb
Enhance issubclass() and PyObject_IsSubclass() so that a tuple is
...
supported as the second argument. This has the same meaning as
for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
this patch does not search the tuple recursively for classes, i.e.
any entry in the tuple that is not a class, will result in a
TypeError.
This closes SF patch #649608 .
2002-12-12 16:41:44 +00:00
Walter Dörwald
6d5f30eaed
Document that the second argument to PyObject_IsInstance
...
may be a tuple. This closes SF patch
http://www.python.org/sf/649095
Backport to release22-maint will follow.
2002-12-06 10:09:16 +00:00
Walter Dörwald
f171540ab8
Change int() so that passing a string, unicode, float or long argument
...
that is outside the integer range no longer raises OverflowError, but
returns a long object instead.
This fixes SF bug http://www.python.org/sf/635115
2002-11-19 20:49:15 +00:00
Raymond Hettinger
513069028f
Fix API typo. The write buffer is not const. Closes SF 606216.
2002-09-08 04:39:28 +00:00
Neal Norwitz
4ddfd50d85
Fix SF bug 587012, doc mentions inexistent builtin unistr
2002-07-28 13:55:20 +00:00
Fred Drake
a0c5e9fb74
Clean up descriptions of PyObject_RichCompare() and PyObject_RichCompareBool()
...
based on comments from David Abrahams.
Added refcount information for these functions.
2002-06-14 14:35:56 +00:00
Fred Drake
178153f8d6
Add documentation for PyObject_RichCompare() and PyObject_RichCompareBool(),
...
constributed by David Abrahams.
This closes SF patch #568081 .
2002-06-13 11:51:48 +00:00
Fred Drake
86228e4ca2
Add version annotation for PySequence_ITEM().
2002-05-23 16:02:28 +00:00
Martin v. Löwis
01f94bda38
Patch #552433 : Special-case tuples. Avoid sub-type checking for lists.
...
Avoid checks for negative indices and duplicate checks for support of
the sequence protocol.
2002-05-08 08:44:21 +00:00
Fred Drake
b957bc3dcc
Clarify the return value of PyObject_IsInstance().
2002-04-23 18:15:44 +00:00
Fred Drake
0e0b6180ba
Add documentation for PyObject_Call().
...
Note that PyObject_Size() is a synonym for PyObject_Length().
This closes SF patch #544330 (contributed by Thomas Heller).
2002-04-15 20:51:19 +00:00
Fred Drake
243ea71669
Correct the descriptions of the PyObject_As*Buffer() return values.
...
This closes SF bug #539081 .
2002-04-04 04:10:36 +00:00
Fred Drake
314bae50b9
Documentation for PyObject_GetIter(), contributed by Greg Chapman
...
(with only minor changes by Fred).
This closes SF bug #498607 .
2002-03-11 18:46:29 +00:00
Fred Drake
8b8fe288b3
Close an improperly-closed verbatim environment.
...
This closes SF patch #496215 .
Add a little more detail to the example that had not been closed.
Bugfix: this should be made part of 2.2.1.
2001-12-26 16:53:48 +00:00