summaryrefslogtreecommitdiffstats
path: root/Doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Capitalize "Python" for consistency.Fred Drake1998-04-031-1/+1
|
* Markup consistency & nits.Fred Drake1998-04-021-166/+151
| | | | | | | | | | | | | | | Fix typo in a C code example: KeyError is spelled PyExc_KeyError in C; the "K" is upper case! Some index entries. On function signatures, always use parameter names. Make return types match what's in the header files. When the return type is a pointer, always omit the space between te type name and the "*"; leaving it in results in type * func(..) and having two spaces there just looks terrible.
* Revert the index stuff to work better with LaTeX2HTML.Fred Drake1998-03-171-1/+1
|
* Adjust the index inclusion for the new index support.Fred Drake1998-03-091-1/+1
|
* Convert LaTeX support to create a new class of documents. HTML generationFred Drake1998-03-031-2/+1
| | | | | | | | now requires LaTeX2HTML 98.1p1 or newer (& and is still in progress). This means that doing things to change the formatting of the manuals (at the "normal user" level, like A4 paper), can happen in just one place, rather than in each document file.
* Added \label{}s for logical addressing.Fred Drake1998-02-261-0/+44
|
* PyFile_FromFile() description: make sure the closing brace for the argumentsFred Drake1998-02-251-1/+1
| | | | comes after the arguments are complete.
* Fixed typo reported by Vladimir Marangozov <Vladimir.Marangozov@imag.fr>.Fred Drake1998-02-201-1/+1
|
* Removed various "(New in 1.5a?!)" constructs. Other notes pertaining toFred Drake1998-02-161-22/+3
| | | | versioning remain intact.
* Place C typedef for Py_complex after brief description, to be more consistentFred Drake1998-02-161-32/+42
| | | | | | with the other example of a structure description (struct _frozen). Added index entries for the modules referenced in the document.
* Added index enties for the Python built-in functions, where appropriate.Fred Drake1998-02-161-12/+15
|
* Lots of nitty-gritty stuff:Fred Drake1998-02-161-634/+684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use \emph{} when referring to title of any of the Python manuals, like is done in the other manuals. In some places, use \emph{} or \dfn{} instead of ``...''. Use \samp{} instead of \code{} when marking identifier prefixes. Use logical markup wherever it made sense. Fixed a bunch of typos. In several places, use "---" instead of "--" to get the emdash. Start sentences with capital letters and end them with periods, as needed. "it's" --> "its" in many places: "it's" it *always* a contraction of "it is", and "its" should always be used for the possessive. "don't" --> "doesn't" "should discards any" --> "should discard any" In C function descriptions, use \var{} to mark parameters in the running text instead of \code{}. This matches usage in the other manauls better, and is more consistent with the formatting of the function signatures. Lots of little changes to implement this. Lots of fixups needed due to appearant heavy cut-&-paste in the orignal document. Mention that the exception objects may be either classes or strings, depending on the use of -X; they were unequivocally stated to be strings in the section "Standard Exceptions". "mkvalue()" --> "Py_BuildValue()" Description of PyNumber_Power() indicates that the third value is option, but not how to indicate that it was omitted. Clarified. Explain the behavior of PyString_FromStringAndSize() if the buffer is NULL. Explain the Py_complex structure a little (tell what it's used for) and use a {verbatim} environment for the structure definition itself. Fix explanation of PyFile_SoftSpace(). Update the example version string to 1.5. Combined the sections on defining new object types.
* Remove obsolete pagenumbering / pagestyle cruft.Fred Drake1998-02-131-5/+0
|
* "ASCII" --> "\ASCII{}"Fred Drake1998-02-121-3/+3
|
* Reorganized a bit. No changed content.Fred Drake1998-02-121-624/+617
| | | | Guido, please take a look at new structure, at least the ToC.
* For sections describing the "Foo Protocol", consistently use the capitalizedFred Drake1998-02-121-2/+2
| | | | "Protocol" and not "protocol".
* Py_Exit(status) calls exit(status), not exit(0).Fred Drake1998-02-121-1/+1
|
* Py_AtExit(): Added brief note about the constraint on cleanup functions notFred Drake1998-01-261-6/+9
| | | | calling the Python API.
* Removed \mytableofcontents; just use \tableofcontents.Fred Drake1998-01-131-1/+1
|
* Consistency:Fred Drake1998-01-131-38/+38
| | | | | | | | "Unix" ==> "\UNIX{}" "C" ==> "\C{}" "C++" ==> "\Cpp{}"
* Added openright option the the \documentclass{} for each of the manuals.Fred Drake1998-01-131-1/+1
|
* Revise prologue and frontmatter to use latex2e (not in 2.09 compatibilityFred Drake1998-01-091-9/+4
| | | | mode) and take advantage of changes in myformat.sty.
* Descriptions for PyRun_String(), PyRun_File(), and PyRun_CompileString() allFred Drake1998-01-021-4/+4
| | | | | | | | gave the return type as part of the function field and used an empty return type field. Fixed. Function name field for PyLong_FromString() included an asterisk at the beginning of the function name field; removed.
* A whole bunch of typos fixed by Andrew Kuchling.Guido van Rossum1997-12-301-22/+33
| | | | | Added a warning about the incompleteness to the front. Added a reminder about CObject to the back.
* Several changes, e.g. restructuring of the intro to be closer to whatGuido van Rossum1997-11-251-236/+134
| | | | it ought to be. Maybe the last checkin before 1.5b1 is released.
* struct _frozen:Fred Drake1997-10-131-4/+4
| | | | | | | | Use spaces instead of tabs to indent structure definition; tabs don't work in tex/latex. PyImport_FrozenModules: struct _freeze ==> struct _frozen
* Change title to {Python/C API Reference Manual}; remove \bcode \ecodeGuido van Rossum1997-10-071-11/+11
| | | | which appears to be out of fashion in this file.
* Done with tread state descriptions. Sigh!Guido van Rossum1997-10-061-50/+309
|
* Checkpoint. Added docs for the new exception handling APIs and forGuido van Rossum1997-10-051-35/+253
| | | | the interfaces defined in import.h.
* Fix some badly botched prototypes for PyRun* c.s.Guido van Rossum1997-08-211-3/+3
|
* Consistently change Python-C API to Python/C API; added lots of newGuido van Rossum1997-08-171-9/+289
| | | | | introductory text for reference counts and error handling, with good examples.
* Fixes to make it pass latex without complaints.Guido van Rossum1997-08-151-10/+14
|
* Added more stuff on initialization (still rudimentary)Guido van Rossum1997-08-141-125/+433
|
* Added new intro sections (incomplete); fixed various typosGuido van Rossum1997-08-141-7/+187
|
* Just another checkin for backup. Nothing substantial yet.Guido van Rossum1997-05-221-10/+806
|
* Made a start with api.tex, the Python-C API Reference Manual.Guido van Rossum1997-05-151-0/+884
Removed extref.tex (which provided the starting point). Also removed qua.tex, which is out of date and no longer needed.