summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix SF #642742, property() builtin not documentedNeal Norwitz2002-12-171-0/+78
| | | | | | | | Added doc for functions new to 2.2: classmethod property staticmethod super Taken from docstrings. Could use review. Hope there wasn't a reason why these shouldn't have been added. Backport candidate.
* Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald2002-12-121-5/+7
| | | | | | | | | | | supported as the second argument. This has the same meaning as for isinstance(), i.e. issubclass(X, (A, B)) is equivalent to issubclass(X, A) or issubclass(X, B). Compared to isinstance(), this patch does not search the tuple recursively for classes, i.e. any entry in the tuple that is not a class, will result in a TypeError. This closes SF patch #649608.
* Added change note about returning a dictionary based on keywordFred Drake2002-11-231-0/+2
| | | | arguments.
* Patch #642500 with slight modifications: allow keyword arguments inJust van Rossum2002-11-231-14/+21
| | | | | | | dict() constructor. Example: >>> dict(a=1, b=2) {'a': 1, 'b': 2} >>>
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-191-0/+2
| | | | | | | that is outside the integer range no longer raises OverflowError, but returns a long object instead. This fixes SF bug http://www.python.org/sf/635115
* Update example for the type() function to use the currently acceptedFred Drake2002-11-011-2/+13
| | | | | | | preference of using "is" instead of "==" to compare types, use built-in names where available, and point to the isinstance() function. Closes SF bug #632196.
* Modify example to use string methods instead of the string module.Fred Drake2002-10-221-4/+2
|
* Another try at clarifying what goes into and comes out of Unicode objects.Fred Drake2002-09-241-4/+0
|
* Clarify that len() of a Unicode string returns the number of storage units,Fred Drake2002-09-241-0/+4
| | | | not abstract characters.
* Fix typoRaymond Hettinger2002-09-041-1/+1
|