summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix two typos in the text about compile(), and add two caveats fromGuido van Rossum2001-09-291-2/+9
| | | | | recent user feedback: you must end the input with \n and you must use \n, not \r\n to represent line endings.
* Document new file() constructor, with the body of open()'s text, plus aTim Peters2001-09-201-37/+45
| | | | | "new in 2.2" blurb at the end. Replace open()'s text by pointing back to file().
* Document the built-in iter() function.Fred Drake2001-09-061-0/+17
|
* New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters2001-09-031-6/+12
| | | | | integer types, and y must be >= 0. See discussion at http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470
* Docs for the PEP 264 changes.Michael W. Hudson2001-08-271-1/+20
|
* SF bug #444510: int() should guarantee truncation.Tim Peters2001-07-261-3/+1
| | | | It's guaranteed now, assuming the platform modf() works correctly.
* On int/long to the negative int/long power, let float handle itGuido van Rossum2001-07-121-7/+10
| | | | | | | instead of raising an error. This was one of the two issues that the VPython folks were particularly problematic for their students. (The other one was integer division...) This implements (my) SF patch #440487.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-56/+56
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Beef up the unicode() description a bit, based on material from AMK'sFred Drake2001-05-151-4/+12
| | | | "What's New in Python ..." documents.
* Update the filter() and list() descriptions to include information aboutFred Drake2001-05-021-12/+14
| | | | the support for containers and iteration.
* Backed out the unistr() builtin.Marc-André Lemburg2001-01-191-7/+0
|
* Minor markup cleaning, and one required fix in the unistr() description.Fred Drake2001-01-181-7/+7
|
* This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg2001-01-171-0/+6
| | | | | | | | | | except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Description of long(): A string parameter is no longer required to beFred Drake2001-01-041-1/+1
| | | | | | *decimal*. This closes SF bug #127273.
* Added information about the %r string formatting conversion. Added noteFred Drake2000-11-171-4/+8
| | | | | | | | about the interpretation of radix 0 for int(), and added description of the optional radix argument for long(). Based on comments from Reuben Sumner <rasumner@users.sourceforge.net>. This closes bug #121672.
* When referring to namespaces, always say "namespaces" instead ofFred Drake2000-09-121-1/+1
| | | | | | "name spaces". Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.
* Various clarifications and minor nits fixed. Affected descriptions ofFred Drake2000-09-091-7/+21
| | | | input(), locals(), reload(), unicode(), and zip().
* Small cleanups, and note when zip() entered the menagerie.Fred Drake2000-08-171-3/+1
|
* int() description: Fix markup to avoid image generation for math mode.Fred Drake2000-08-031-5/+6
| | | | | | zip() description: Fix broken markup, three small markup consistency nits, and one really minor usage nit. Introduce use of \moreargs instead of hardcoding "..." with \optional.
* Both PEP 201 Lockstep Iteration and SF patch #101030 have beenBarry Warsaw2000-08-031-0/+9
| | | | | | accepted by the BDFL. Added documentation for zip() builtin.
* Update version numbering from 1.6 to 2.0.Fred Drake2000-06-301-2/+2
|
* Make it clear that id() can return either a long integer or a plain integer.Fred Drake2000-06-291-5/+5
|
* unichr(),Fred Drake2000-04-061-0/+2
| | | | unicode(): Added \versionadded{} annotations.
* Note the exception raised when parameter to chr() is out of range.Fred Drake2000-04-061-1/+2
|
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-3/+20
| | | | Documentation for unichr(), unicode(), update for ord().
* Update the description of int() to include the radix parameter;Fred Drake2000-02-171-12/+16
| | | | | | | omission noted on c.l.py by Aahz Maruch. Swapped the order of the descriptions of int() and intern() so that int() comes first (the functions are in alphabetic order).
* Add index entries for open():Fred Drake1999-08-051-1/+4
| | | | | | | buffer size, I/O I/O control, buffering line-buffered I/O unbuffered I/O
* Update getattr() description to document the optional thirdFred Drake1999-07-221-5/+7
| | | | parameter. Thanks to Barry Warsaw for pointing out the oversight.
* Adjust indexing for __import__(); based on comments by Stefan FrankeFred Drake1999-06-101-12/+11
| | | | <sfranke@cdc-group.com>.
* Reflect recent patch for float % and divmod() by Tim Peters. ContentFred Drake1999-05-061-2/+6
| | | | updates by Tim Peters, markup by FLD.
* open() description: Made it more clear that 'b' should always beFred Drake1999-04-051-16/+21
| | | | | | | added to the mode value for binary files to improve portability. Fixed latex2html weirdness with a couple of footnotes.
* Document complex() with string arg.Guido van Rossum1999-03-251-2/+4
|
* Document new builtin buffer(). Greg Stein.Guido van Rossum1999-03-191-0/+10
|
* Add notes to __builtin__.float() and string.atof() that the NaN and InfFred Drake1999-02-181-7/+11
| | | | results are possible but non-portable.
* atof() description: Add information about accepting 'NaN' to produceFred Drake1999-02-181-6/+7
| | | | the NaN value.
* Replace the docs for reduce with an adaptation of its docstring, whichGuido van Rossum1999-01-061-8/+9
| | | | was actually clearer!
* "singed" --> "signed" (3 places)Fred Drake1998-12-071-3/+3
| | | | Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>.
* Add explicit example on how to import a submodule of a package usingGuido van Rossum1998-12-041-0/+15
| | | | __import__ and getattr().
* Clarify that min and max also take multiple arguments.Guido van Rossum1998-11-251-6/+8
|
* Clarify the default buffering for open(). (Comment from Andrew DalkeFred Drake1998-11-021-1/+1
| | | | <dalke@bioreason.com>).
* Document that apply() can now take any sequence in argument 2.Barry Warsaw1998-10-011-2/+3
|
* round(): Mark the second (optional) parameter as optional, since it'sFred Drake1998-08-241-4/+4
| | | | | | described that way. setattr(): Clarify that the attribute doesn't need to exist to be set.
* New section header style.Fred Drake1998-08-101-2/+1
| | | | Fix up a few synopses.
* Clarify the + and b mode characters for open() a bit.Guido van Rossum1998-07-291-6/+8
|
* Revert the change of revision 1.30. While it's in general a laudableGuido van Rossum1998-06-221-1/+1
| | | | | | goal to use isinstance(x, y) instead of comparing type(x) to y, it doesn't make sense to change this in the example code for the type() builtin...
* eval() example: Removed final interpreter prompt; other examples don't haveFred Drake1998-06-191-1/+0
| | | | the empty prompt.
* Added a stronger warning about changing the dictionary returned byGuido van Rossum1998-06-181-2/+3
| | | | locals().
* Change the description of input() -- it is exactly equivalent toGuido van Rossum1998-06-171-5/+1
| | | | | eval(raw_input(s)). The statement about breaking a long expression over multiple lines is no longer true.
* Signature for dir() omitted the optional argument.Fred Drake1998-04-161-1/+1
|
* Small nits.Fred Drake1998-04-031-6/+6
| | | | | | One more index entry. Be more specific about an exception raised by range().