220 Commits

Author SHA1 Message Date
Andrew M. Kuchling
c39c7c1d04 Make examples do error checking on Py_InitModule 2006-09-27 19:23:38 +00:00
Fred Drake
a84938054d clean up some link markup 2006-07-16 01:21:47 +00:00
George Yoshida
3776d0d0f9 Backport revision 50664
Bug #15187702 : ext/win-cookbook.html has a broken link to distutils
2006-07-15 16:12:49 +00:00
Anthony Baxter
022a55c0d9 update - still some old .cvsignore files lying around 2006-03-23 02:26:07 +00:00
Fred Drake
222a704100 use correct function in example (backport of trunk revision 42377) 2006-02-15 06:56:35 +00:00
Fred Drake
b7704d9816 fix stupid typo 2005-10-11 20:25:19 +00:00
Georg Brandl
b454ea90c9 backport bug [ 1021621 ] use first_name, not first, in code samples 2005-07-17 21:19:44 +00:00
Georg Brandl
5f421a74c8 Oops. 2005-07-12 13:20:56 +00:00
Georg Brandl
e913bf9211 backport bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding" 2005-07-12 13:18:04 +00:00
Georg Brandl
b1c29f33fc Bug #1184380: extending&embedding example broken 2005-06-05 10:57:00 +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
Martin v. Löwis
b33a323c89 Fix typo. 2005-01-03 23:42:34 +00:00
Raymond Hettinger
1498d63795 SF Patch #1093896: miscellaneous doc typos 2005-01-01 00:34:56 +00:00
Martin v. Löwis
372e0ec904 Update to VC 7.1. 2004-12-30 10:44:50 +00:00
Raymond Hettinger
2a216794f0 SF bug #1066036: Typo about PyErr_WriteUnraisable() 2004-11-18 06:50:19 +00:00
Johannes Gijsbers
d345225ae5 Patch #1026384: fix two common typo's:
- accomodate -> accommodate
- occured -> occurred

Thanks George Yoshida!
2004-09-11 16:50:06 +00:00
Tim Peters
3d7d372ce3 Whitespace normalization, via reindent.py. 2004-07-18 06:25:50 +00:00
Tim Peters
5960d80e11 s/it's/its/, s/NULL/NULL{}/, where appropriate. 2004-07-15 04:23:13 +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
7a0e8bc283 Updated documentation to:
- point out the importance of reassigning data members before
  assigning thier values

- correct my missconception about return values from visitprocs. Sigh.

- mention the labor saving Py_VISIT and Py_CLEAR macros.
2004-07-14 19:07:24 +00:00
Brett Cannon
289e4cba1c Changed applicable use of `char *` declarations that are passed into
PyArg_ParseTuple() to ``const char *`` to match the recommendation made in
section 1.3 and to support better coding habits.

Section 1.8 ("Keyword Parameters for Extension Functions") and it's coding
example were not touched since it is stems from an accredited source and thus
did not want to step on anyone's toes.
2004-06-29 03:48:23 +00:00
Brett Cannon
634893d1a3 Mention Py_RETURN_NONE when introducing the idiom of how to have a function
return Py_None.
2004-06-27 04:28:00 +00:00
Brett Cannon
555a96475d Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC will
be discussed later by saying it is the function return type of the sample code
to make spotting it easier.
2004-06-26 23:10:32 +00:00
Phillip J. Eby
de48307f76 Added documentation to address SF bug #963246: limitations on multiple
inheritance in Python when a C type is one of the bases.
2004-06-06 15:59:18 +00:00
Fred Drake
34c43202eb Emphasize the requirement that Python.h be included first more strongly.
Closes SF bug #837228; backporting for Python 2.3.4.
2004-03-31 07:45:46 +00:00