210 Commits

Author SHA1 Message Date
Georg Brandl
051aa77305 Backport r58542. 2007-10-19 12:34:20 +00:00
Georg Brandl
2f2bd3efd5 #1196: document default radix for int(). 2007-09-24 17:58:18 +00:00
Raymond Hettinger
4db90ac485 Fix markup 2007-04-24 22:04:26 +00:00
Georg Brandl
d20046622a RFE #1670167: fix in isinstance() docs.
(backport from rev. 54409)
2007-03-16 08:33:51 +00:00
Andrew M. Kuchling
2a927915cb Backport doc changes from rev. 53112, 53115: use 'iterable' in various
places instead of 'sequence'.
2006-12-20 20:15:08 +00:00
Georg Brandl
bdbb9c62de Bug #1575746: fix typo in property() docs.
(backport from rev. 52293)
2006-10-12 07:38:08 +00:00
Fred Drake
e0d4aecfc2 lots of markup nits, most commonly Unix/unix --> \UNIX 2006-07-30 03:03:43 +00:00
Andrew M. Kuchling
956597f4ef Reorganize the docs for 'file' and 'open()' after some discussion with Fred.
We want to encourage users to write open() when opening a file, but
open() was described with a single paragraph and
'file' had lots of explanation of the mode and bufsize arguments.

I've shrunk the description of 'file' to cross-reference to the 'File
objects' section, and to open() for an explanation of the arguments.

open() now has all the paragraphs about the mode string.  The bufsize
argument was moved up so that it isn't buried at the end; now there's
1 paragraph on mode, 1 on bufsize, and then 3 more on mode.  Various
other edits and rearrangements were made in the process.

It's probably best to read the final text and not to try to make sense
of the diffs.
2006-07-29 18:14:07 +00:00
Georg Brandl
d41f4ce0c8 no need to elaborate "string". 2006-07-05 15:50:05 +00:00
Georg Brandl
f41beacecb Patch #1517490: fix glitches in filter() docs. 2006-07-05 14:18:45 +00:00
Andrew M. Kuchling
2eda1b78f9 [Bug #1511911] Clarify description of optional arguments to sorted()
by improving the xref to the section on lists, and by
   copying the explanations of the arguments (with a slight modification).
2006-07-03 14:16:09 +00:00
Fred Drake
6f42dfce7c - consistency nit: always include "()" in \function and \method
(*should* be done by the presentation, but that requires changes all over)
- avoid spreading the __name meme
2006-06-30 19:29:25 +00:00
Georg Brandl
348b7c8304 Document decorator usage of property. 2006-06-30 18:47:56 +00:00
Georg Brandl
7b90e168f3 Bug #1462152: file() now checks more thoroughly for invalid mode
strings and removes a possible "U" before passing the mode to the
C library function.
2006-05-18 07:01:27 +00:00
Neal Norwitz
c4edb0ec81 SF #1479181: split open() and file() from being aliases for each other. 2006-05-02 04:43:14 +00:00
Neal Norwitz
92e212f7d9 Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328. 2006-04-03 04:48:37 +00:00
Georg Brandl
b227bea292 object() is a function, not a base class. 2006-03-31 15:07:25 +00:00
Georg Brandl
48b4bf7b1a Add a note about pow(x,y) equalling x**y (the "**" operator
was used unmotivated in the pow() docs)
2006-03-21 08:48:04 +00:00
Georg Brandl
533ff6fc06 Patch #1434038: property() now uses the getter's docstring if there is
no "doc" argument given. This makes it possible to legitimately use
property() as a decorator to produce a read-only property.
2006-03-08 18:09:27 +00:00
Georg Brandl
87b90adc28 Patch #1410783: add documentation links for static/classmethod 2006-01-20 21:33:54 +00:00
Georg Brandl
a635fbbcb0 Remove dots in \version{changed,added} argument and
correct argument order.
2006-01-15 07:55:35 +00:00
Raymond Hettinger
76fb6d84d0 SF bug #1100368: Wrong "type()" syntax in docs
Docs were missing the name/bases/dict form of type().

(Much of the wording contributed by Steven Bethard.)
2005-08-24 07:06:25 +00:00
Fred Drake
b406905f33 ord() documentation update; this is what remains applicable from
SF patch #1057588; other changes make the rest of the patch out of date
or otherwise unnecessary
2005-08-23 04:33:29 +00:00
Raymond Hettinger
1823ae7e36 SF bug #1121416: zip incorrectly and incompletely documented
sequences ==> iterables
2005-08-21 11:58:06 +00:00
Georg Brandl
b370059233 bug [ 1250306 ] incorrect description of range function 2005-08-03 07:17:33 +00:00