summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1015021: Stop claiming that coerce can return None.Martin v. Löwis2004-08-251-1/+1
| | | | Will backport to 2.3.
* SF bug #805304: super instances don't support item assignmentRaymond Hettinger2004-08-171-0/+6
| | | | | | Document a nuance of super(). It is designed to work well with dotted attribute lookup but not with equivalent implicit lookups using operators or statements.
* [Patch #1005465] Markup tweaksAndrew M. Kuchling2004-08-091-1/+2
|
* Bug 1003935: xrange overflowsTim Peters2004-08-081-9/+15
| | | | | | | | | | | | | | | Added XXX comment about why the undocumented PyRange_New() API function is too broken to be worth the considerable pain of repairing. Changed range_new() to stop using PyRange_New(). This fixes a variety of bogus errors. Nothing in the core uses PyRange_New() now. Documented that xrange() is intended to be simple and fast, and that CPython restricts its arguments, and length of its result sequence, to native C longs. Added some tests that failed before the patch, and repaired a test that relied on a bogus OverflowError getting raised.
* Doc/lib/libfuncs.tex: correct items in itemizeMatthias Klose2004-08-041-8/+8
| | | | Doc/dist/dist.tex: avoid uncommenting the verbose environment (by the py2texi tool)
* Document general mappings for the locals argument for exec and execfile().Raymond Hettinger2004-08-031-7/+8
|
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-2/+11
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* SF bug #997533: "disjunct" should be "disjoint"Raymond Hettinger2004-07-291-3/+3
| | | | | * Use plain wording in docs for id(). * Use normal quotation marks instead of single quotes in the description.
* SF Bug #215126: Over restricted type checking on eval() functionRaymond Hettinger2004-07-021-2/+6
| | | | | | The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact.
* Fix small grammatical mistake.Brett Cannon2004-05-051-1/+1
|
* concrete example of why retaining old objects is goodSkip Montanaro2004-03-211-1/+9
|
* SF bug #918371: hasattr()'s return typeRaymond Hettinger2004-03-201-2/+2
| | | | Replace 1 and 0 with True and False.
* Expand on the semantics of reload(). Closes #919099.Skip Montanaro2004-03-191-2/+24
|
* fix reference to File Object documentationFred Drake2004-01-011-1/+3
| | | | closes SF bug #825810
* fix markup errorsFred Drake2003-12-301-3/+2
|
* [Bug #857821] Remove mention of deprecated string.{atol,atof} functions. ↵Andrew M. Kuchling2003-12-231-4/+2
| | | | (Patch from Gerrit Holl)
* Guido grants a Christmas wish:Raymond Hettinger2003-12-171-0/+9
| | | | sorted() becomes a regular function instead of a classmethod.
* Put str() in alphabetical order.Raymond Hettinger2003-12-071-10/+10
|
* - fix markup in the bool() descriptionFred Drake2003-12-051-10/+9
| | | | | - note the behavior of bool() with no arg in the main body of the description
* Nits from a review of the documentation update.Raymond Hettinger2003-11-261-1/+1
|
* As discussed on python-dev, banish apply(), buffer(), coerce(), andRaymond Hettinger2003-11-251-51/+68
| | | | intern() to a separate region in the docs.
* Patch #843088: Fix typos. Backported to 2.3.Martin v. Löwis2003-11-181-1/+1
|
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-0/+19
| | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-061-0/+8
|
* SF bug #821701: reduce docs neglect a very important piece of information.Raymond Hettinger2003-10-131-1/+3
| | | | Add a note showing which argument is the accumulator.
* SF 810242. Fix doubled word errors.Raymond Hettinger2003-09-221-1/+1
|
* SF bug #560286: Add docs for 'basestring'Raymond Hettinger2003-09-091-0/+9
|
* SF bug 799191: fix markupRaymond Hettinger2003-09-061-1/+1
|
* Fix double word typos.Raymond Hettinger2003-08-251-1/+1
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-121-1/+1
|
* As discussed on python-dev, changed builtin.zip() to handle zero argumentsRaymond Hettinger2003-08-021-4/+8
| | | | by returning an empty list instead of raising a TypeError.
* Fix SF bug #766288, property() example gives syntax errorNeal Norwitz2003-07-051-1/+1
|
* SF bug #764616: execfile(filename,...) not execfile(file,...)Raymond Hettinger2003-07-021-1/+1
| | | | Clarify parameter name.
* Fix a variety of small markup nits.Fred Drake2003-07-021-7/+8
|
* - note that super() only applies to new-style classes;Fred Drake2003-07-011-2/+4
| | | | | closes SF bug #764003 - fix markup for consistency
* markup consistency nitsFred Drake2003-06-261-9/+10
|
* 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.
* Fix some markup nitsNeal Norwitz2003-06-171-4/+4
|
* * 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.
* SF bug: 751941 Invisible HTML tagRaymond Hettinger2003-06-101-0/+2
| | | | Added missing jump target labels.
* Patch #744877: Explain filter in terms of list comprehension. RemoveMartin v. Löwis2003-05-311-3/+8
| | | | | explanation of int in terms of string.atoi. Explain sum in terms of reduce.
* - object is a class type, not a functionFred Drake2003-05-101-3/+4
| | | | | - when marking a function, the trailing () should be included consistently
* Missing parenthesis found by texcheck.pyRaymond Hettinger2003-05-101-1/+1
|
* - explain the start argument to sum()Fred Drake2003-04-221-5/+6
| | | | - various adjustments to sum() markup and explanation
* Adding new built-in function sum, with docs and tests.Alex Martelli2003-04-221-0/+8
|
* Change the treatment of positions returned by PEP293Walter Dörwald2003-01-311-1/+1
| | | | | | | | | | | | | | | | error handers in the Unicode codecs: Negative positions are treated as being relative to the end of the input and out of bounds positions result in an IndexError. Also update the PEP and include an explanation of this in the documentation for codecs.register_error. Fixes a small bug in iconv_codecs: if the position from the callback is negative *add* it to the size instead of substracting it. From SF patch #677429.
* SF bug #655271: Slightly modify locals() docRaymond Hettinger2003-01-041-1/+1
| | | | Clarify the operation of locals().
* Document that apply() is deprecated. See:Fred Drake2003-01-021-0/+3
| | | | http://mail.python.org/pipermail/python-dev/2003-January/031556.html
* Fix SF # 641111, Undocumented side effect of evalNeal Norwitz2002-12-171-1/+6
| | | | | | | | Try to clear up confusion about the current globals being copied into a globals dict passed to eval(). This wording (more or less) was suggested in bug report. It should probably be made clearer. Backport candidate.