summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* A few minor improvementsBarry Warsaw2003-06-281-3/+4
|
* Rewrote the docs for supporting cyclic garbage collection to reflectJim Fulton2003-06-285-103/+394
| | | | | | | the new way that once writes types. Deleted the old section and sample code and added a new section building on the Noddy example.
* Updated the depenencies to reflect changes in the sample code forJim Fulton2003-06-281-1/+3
| | | | building new types.
* Added tests for sample modules.Jim Fulton2003-06-281-0/+121
|
* Added s setup module to make it easier to test the sample modules.Jim Fulton2003-06-281-0/+8
|
* Fixed bug in implementation of tp_init function. It should be an intJim Fulton2003-06-282-8/+6
| | | | function, not a PyObject *.
* Changed the assignment of PyType_GenericNew to tp_new slot. Now doJim Fulton2003-06-281-17/+1
| | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way.
* Changed the assignment of PyType_GenericNew to tp_new slot. Now doJim Fulton2003-06-281-23/+12
| | | | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *.
* Correct markup errors that prevented formatting.Fred Drake2003-06-281-2/+2
|
* Explain source encodings. Fixes #683486.Martin v. Löwis2003-06-281-0/+33
|
* Add take() to examples. Tighten the islice() exampleRaymond Hettinger2003-06-281-1/+4
|
* fix markup nitsFred Drake2003-06-281-12/+12
|
* SF patch #761519: Fixes for bugs 760703 and 757821Raymond Hettinger2003-06-271-15/+30
| | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
* A hack to ease compatibility with pre-2.3 Pythons: by default, doctestTim Peters2003-06-271-0/+17
| | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way.
* Don't assume the name of the table of contents will be contents.html;Fred Drake2003-06-271-1/+4
| | | | | | | | | that won't be right when mkhowto is called with --numeric (as it is for the Python Tutorial). Save the actual name we use when we build the table of contents, then use that in the page head metadata. The node2label.pl script will munge this properly when --numeric isn't given, so this works in both cases. Closes SF bug #761830.
* Add definitions of the test and testlist symbols in the grammar soFred Drake2003-06-271-0/+5
| | | | | there are no gaps in the definitions. Closes SF bug #726150.
* fix link-hovering so <a name='...'> (no href attribute) doesn't getFred Drake2003-06-271-4/+10
| | | | the hovering background
* * Markup nits for the Invoking Descriptors sectionRaymond Hettinger2003-06-271-7/+121
| | | | | | | * Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial.
* SF patch #760792: "wo" in "word" now valid but not documented as suchRaymond Hettinger2003-06-261-4/+7
| | | | | | Revised version of a contribution from Gerrit Holl. Update the docs for the extended behavior of __contains__
* * Fixed an unmatched parenthesis early in the text.Raymond Hettinger2003-06-261-2/+10
| | | | | * Clarified the meaning of lexicographic sequence ordering as discussed on comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493
* markup consistency nitsFred Drake2003-06-261-9/+10
|
* remove _ from label: LaTeX rejects this due to all the magic we use toFred Drake2003-06-261-1/+1
| | | | get the _ character to format like a normal character
* Removed useless intra-section references which jump to the top of theRaymond Hettinger2003-06-251-4/+2
| | | | section instead of the specific item being referenced.
* SF bug #696777: How to make a class iterable using a member generator.Raymond Hettinger2003-06-251-0/+6
| | | | | * Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator.
* * Document how descriptors are invoked.Raymond Hettinger2003-06-251-3/+63
| | | | * Fix minor parenthesis matching errors in ref3.tex.
* SF bug #757822: Additional index items, other minor detailsRaymond Hettinger2003-06-251-2/+2
| | | | * Minor grammatical fix.
* Patch #640236: Better eplain unused data.Martin v. Löwis2003-06-211-7/+12
|
* Patch #755683: Document that there might be a maximum indentation limit.Martin v. Löwis2003-06-211-1/+3
| | | | Fixes #700827
* Add some documentation which describes how to use the email packageBarry Warsaw2003-06-201-1/+35
| | | | instead of rfc822 as the Message factory.
* SF #757229, fix libsocket.tex typoNeal Norwitz2003-06-201-1/+1
|
* Remove heading from orphan section.Fred Drake2003-06-201-1/+1
|
* Update link to Python book information.Fred Drake2003-06-201-1/+1
|
* Avoid using 'dir' as a variable name and use os.path.join() to createSkip Montanaro2003-06-191-4/+4
| | | | paths.
* Minor updates:Raymond Hettinger2003-06-181-4/+11
| | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example
* Include "instances of most classes" in a warning about mutable objectsFred Drake2003-06-181-2/+3
| | | | as default values of function/method parameters.
* Fix typo.Raymond Hettinger2003-06-181-1/+1
|
* SF patch #751038 fixing SF bug#750092: exec doesn't need newlineRaymond Hettinger2003-06-181-6/+0
| | | | Patch contributed by Steven Taschuk.
* Updated documentation for the new slice arguments for list.index().Walter Dörwald2003-06-171-3/+8
|
* SF Patch 569574 - enhancements to cgitb for plain text displaySkip Montanaro2003-06-171-4/+10
|
* Fix some markup nitsNeal Norwitz2003-06-171-4/+4
|
* ^D means EOF on Unix but not on Windows. Expand the example's prompt toTim Peters2003-06-151-5/+5
| | | | | | tell Windows Truth too. Bugfix candidate.
* Add explicit text for where an obindex call for generators was since obindex ↵Brett Cannon2003-06-151-1/+2
| | | | does not cause output of its argument.
* Documented the fact that the main class now mimicks the OSA "application" class.Jack Jansen2003-06-131-5/+7
|
* * Added missing documentation for object().Raymond Hettinger2003-06-111-2/+15
| | | | * Noted the Py2.3 in the optional arg for bool().
* SF bug #660022: parameters for int(), str(), etc.Raymond Hettinger2003-06-111-19/+28
| | | | | | * Indicate that arguments are optional for most builtin type constructors. * Replace e.g. in staticmethod() and classmethod() docs. * Add \code{} markup to some in-line code examples.
* Add docs for get_grouped_opcodes().Raymond Hettinger2003-06-111-2/+17
|
* SF bug: 751941 Invisible HTML tagRaymond Hettinger2003-06-101-0/+2
| | | | Added missing jump target labels.
* guess_all_extensions(): Return the empty list instead of None whenBarry Warsaw2003-06-091-2/+1
| | | | | there are no matching types. Updated the docs and docstrings. Added some unit tests.
* Document context_diff() and unified_diff()Raymond Hettinger2003-06-091-0/+63
|
* SF #735051, add time.tzset documentationNeal Norwitz2003-06-081-0/+96
|