Commit Graph

40 Commits

Author SHA1 Message Date
Martin v. Löwis
82972e7f01 Patch #702933: Undocument PyObject_NEW, PyObject_NEW_VAR,
and PyObject_DEL.
2006-04-14 15:58:03 +00:00
Martin v. Löwis
29fafd8708 Make documentation match the implementation. 2006-03-01 05:16:03 +00:00
Georg Brandl
7d42d3cd59 fix typo 2006-02-21 20:41:29 +00:00
Georg Brandl
1b6726732c Bug #1432350: arrayobject should use PyObject_VAR_HEAD 2006-02-17 08:56:33 +00:00
Neil Schemenauer
c49322951f Fix grammar (it's -> its). 2005-06-18 17:54:13 +00:00
Thomas Heller
33ceda85d0 Function signatures for tp_descr_get and tp_descr_set. 2005-03-24 07:45:53 +00:00
Andrew M. Kuchling
672d2ba773 Use LaTeX markup 2004-08-07 20:17:48 +00:00
Tim Peters
eda29306b3 Formalize that the Py_VISIT macro requires that the tp_traverse
implementation it's used in must give its arguments specific names.
2004-07-15 04:05:59 +00:00
Jim Fulton
aa6389e13b Documented the new Py_VISIT macro to simplify implementation of
tp_traverse handlers. (Tim made me do it. ;)
2004-07-14 19:08:17 +00:00
Tim Peters
e45d5a3b00 Claifications: visit procs are supplied by the core, users aren't
expected to write their own.  A NULL "object" must not be passed to
the visit callback.  A non-zero return from a visit proc isn't
necessarily an error return (and it doesn't matter to the tp_traverse
code *what* it might signify, their only job is to return it).
2004-07-13 17:18:10 +00:00
Fred Drake
70a30e8c94 markup correction 2004-02-17 04:17:36 +00:00
Martin v. Löwis
d3f4a1a00a Patch #893566: Document that tp_dealloc may be called from any thread. 2004-02-15 21:01:17 +00:00
Raymond Hettinger
8f5cdaa784 * Added a new method flag, METH_COEXIST.
* Used the flag to optimize set.__contains__(), dict.__contains__(),
  dict.__getitem__(), and list.__getitem__().
2003-12-13 11:26:12 +00:00
Raymond Hettinger
e180307c10 Fix missing paren. 2003-12-07 12:49:48 +00:00
Raymond Hettinger
2619c9ec89 SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API)
(Contributed by Florent Rougon.)
2003-12-07 11:40:17 +00:00
Martin v. Löwis
95cf84a4f3 Patch #821093: Fix various typos. 2003-10-19 07:32:24 +00:00
Raymond Hettinger
9bd308f67b Fix doubled word typos. 2003-08-25 04:43:53 +00:00
Fred Drake
b93b3e790e Error noted in email to python-docs: PyObject corresponds to
PyObject_HEAD, not PyObject_VAR_HEAD.
2003-07-07 17:20:40 +00:00
Fred Drake
9e1595e6e4 Minor clarification about the ob_size field. 2003-03-07 15:02:03 +00:00
Michael W. Hudson
1e71b04258 Update advice about __module__ and __name__ and tp_name wrt. new types.
Add \refs to GC section that were XXXed out.
2003-02-10 19:18:21 +00:00
Michael W. Hudson
847f37543f Correct lie about METH_NOARGS functions.
Backport candidate.
2003-02-06 18:37:11 +00:00
Raymond Hettinger
89fc4f3e56 Fix typo 2003-01-31 05:44:25 +00:00
Fred Drake
71f5acdd1e Minor cleanups, markup. 2002-11-05 22:19:45 +00:00
Neal Norwitz
1aca2d0cb3 Fix SF # 518775, buffer object API description truncated 2002-11-03 02:56:27 +00:00
Raymond Hettinger
d3e0265373 Document type and semantics of the tp_print return value. Closes SF 606464. 2002-09-10 13:48:01 +00:00