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
|
* SF bug #918371: hasattr()'s return typeRaymond Hettinger2004-03-201-2/+2
| | | | Replace 1 and 0 with True and False.
* fix reference to File Object documentationFred Drake2004-01-011-1/+3
| | | | closes SF bug #825810
* Backports:Raymond Hettinger2003-12-071-61/+78
| | | | | * Put str() in alphabetical order * Move apply(), buffer(), coerce(), and intern() to a separate section.
* - 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
* Patch #843088: Fix typos.Martin v. Löwis2003-11-181-1/+1
|
* 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.
* 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-111-1/+1
|
* 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
|
* Add a note that apply() is needed since the extended call syntax isFred Drake2002-08-221-0/+2
| | | | completely equivalent.
* SF patch 576101, by Oren Tirosh: alternative implementation ofGuido van Rossum2002-08-191-2/+4
| | | | | | | | interning. I modified Oren's patch significantly, but the basic idea and most of the implementation is unchanged. Interned strings created with PyString_InternInPlace() are now mortal, and you must keep a reference to the resulting string around; use the new function PyString_InternImmortal() to create immortal interned strings.
* reduce(): Clarified what is returned in the case of a sequence 1 item long andFred Drake2002-07-171-6/+6
| | | | initial/default value.
* Note that unicode() can raise LookupError for unknown codecs.Fred Drake2002-07-091-1/+2
| | | | Closes SF bug #513666.
* Fix typo: "an Unicode string" --> "a Unicode string"Fred Drake2002-07-081-2/+2
| | | | Clarify the return value when the parameter is a Unicode object.
* Clarify the version information for the unicode() built-in.Fred Drake2002-06-291-6/+9
| | | | Closes SF bug #575272.
* Add a note that divmod() with complex numbers is deprecated.Fred Drake2002-06-201-0/+3
|
* Jack's documentation for the U mode character on the file()Barry Warsaw2002-05-221-0/+15
| | | | constructor, vetted by Barry.
* Patch 543387. Document deprecation of complex %, //,and divmod().Raymond Hettinger2002-05-211-3/+3
|