Commit Graph

8292 Commits

Author SHA1 Message Date
Vinay Sajip 425c614b6e Updated documentation for SysLogHandler (#1720726). 2007-05-25 07:21:19 +00:00
Neal Norwitz 35cff5ff75 Document "new" params to HTTPConnection/HTTPSConnection 2007-05-22 06:09:24 +00:00
Georg Brandl 13703087ba Backport rev 55465 by Nick Coghlan. 2007-05-20 15:03:06 +00:00
Fred Drake 2cb077a8c1 fix argument name in documentation; match the implementation 2007-05-17 19:29:43 +00:00
Georg Brandl 4043a6bbd6 Bug #1719995: don't use deprecated method in sets example.
(backport from rev. 55383)
2007-05-16 13:44:25 +00:00
Georg Brandl 0d338e4bc6 Bug #1046945: document SWIG options of distutils.
(backport from rev. 55287)
2007-05-12 21:06:51 +00:00
Georg Brandl 39d8cc7422 Update DDJ link.
(backport from rev. 55259)
2007-05-11 11:44:00 +00:00
Georg Brandl 5a25e45d3a Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.
(backport)
2007-05-11 11:03:46 +00:00
Neal Norwitz 27803cee9a Backport: Add markup for True/False. 2007-05-09 06:44:23 +00:00
Georg Brandl 4e6b5e9ead Bug #1713535 backport. 2007-05-05 18:57:09 +00:00
Walter Dörwald f8f68fbe0e Backport checkin:
Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped
in native order mode, and only if it's the first two bytes.
2007-05-03 15:16:16 +00:00
Georg Brandl be69a0acc4 Bug #1710295: exceptions are now new-style classes.
(backport from rev. 55036)
2007-05-01 06:04:20 +00:00
Brett Cannon a801b6a1fd Backport r54712: document that calling file.next() on a file open for writing
leads to undefined behaviour.
2007-04-27 22:35:57 +00:00
Georg Brandl c22aee03c6 Version fix (bug #1708710) 2007-04-27 19:19:29 +00:00
Fred Drake 12c295040c fix some markup errors 2007-04-26 04:43:58 +00:00
Georg Brandl eeff493426 Markup fix.
(backport from rev. 54951)
2007-04-25 06:25:57 +00:00
Georg Brandl d1e3f6df38 Patch #1698768: updated the "using Python on the Mac" intro.
(backport from rev. 54949)
2007-04-25 06:25:07 +00:00
Raymond Hettinger 4db90ac485 Fix markup 2007-04-24 22:04:26 +00:00
Georg Brandl 22c00e08bf Bug #1705717: error in sys.argv docs.
(backport from rev. 54939)
2007-04-24 15:10:16 +00:00
Georg Brandl 46155b94ca Some new year updates. 2007-04-24 10:36:45 +00:00
Neal Norwitz 112717dd0b Fix SF #1703110, Incorrect example for add_password() (use uri, not host) 2007-04-24 04:54:24 +00:00
Georg Brandl 552ba11085 Backport r54671 - fix in python.sty. 2007-04-21 07:30:52 +00:00
Georg Brandl 82966e57e8 Backport r54763: repair missing spaces after \UNIX. 2007-04-21 07:25:39 +00:00
Anthony Baxter ef57abdb60 2.5.1 final 2007-04-18 03:35:45 +00:00
Andrew M. Kuchling 9df5fa0d91 Describe undocumented third argument to touchline() 2007-04-11 13:47:58 +00:00
Anthony Baxter 9515c96cb0 preparing for 2.5.1c1 2007-04-05 04:52:06 +00:00
Raymond Hettinger 95289052f7 SF #1382213: Tutorial section 9.5.1 ignores MRO for new-style classes 2007-04-03 01:37:56 +00:00
Andrew M. Kuchling ef9e09e737 Add item 2007-03-30 17:58:16 +00:00
Žiga Seilnacht 6524573995 Patch #1489771: update syntax rules in Python Reference Manual.
Python 2.5 added support for explicit relative import statements and
yield expressions, which were missing in the manual.
Also fix grammar productions that used the names from the Grammar file,
markup that broke the generated grammar.txt, and wrap some lines that
broke the pdf output.
 (backport from rev. 54559)
2007-03-24 14:27:21 +00:00
Martin v. Löwis fe048e8ee7 Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}. 2007-03-23 10:35:57 +00:00
Georg Brandl 4d891193d1 Bug #1685704: use -m switch in timeit docs.
(backport from rev. 54524)
2007-03-22 08:05:53 +00:00
Georg Brandl bd9d51321e Patch #1684834: document some utility C API functions.
(backport from rev. 54483)
2007-03-21 09:17:36 +00:00
Raymond Hettinger 42f4cfa9b6 Add new example 2007-03-20 21:12:23 +00:00
Georg Brandl c77f6c6ea4 Backport docs for recv_into and recvfrom_into. 2007-03-18 08:26:23 +00:00
Georg Brandl d20046622a RFE #1670167: fix in isinstance() docs.
(backport from rev. 54409)
2007-03-16 08:33:51 +00:00
Georg Brandl abcb4bb276 Patch #1680978: consistently use "alive" instead of "active" in the
thread lib doc.
 (backport from rev. 54392)
2007-03-15 07:38:21 +00:00
Gregory P. Smith 12e8fe63e2 doc update from HEAD. don't list "Unix, Windows" as a platform since that
covers everything now that Mac OS 9 isn't a popular issue.
2007-03-14 07:22:35 +00:00
Gregory P. Smith 5cdefad0e0 doc update from HEAD 2007-03-14 07:20:47 +00:00
Georg Brandl 0a24d10524 Patch #1679379: add documentation for fnmatch.translate().
(backport from rev. 54323)
2007-03-13 07:51:04 +00:00
Georg Brandl 1817f096f4 Typo fix.
(backport from rev. 54292)
2007-03-12 16:15:17 +00:00
Georg Brandl dfc2966001 Fix #1676656: \em is different from \emph...
(backport from rev. 54220)
2007-03-08 17:49:17 +00:00
Georg Brandl 4a7da9cdbc Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.
(backport from rev. 54202)
2007-03-07 09:34:52 +00:00
Georg Brandl b535b39f77 Typo fix. 2007-03-07 09:17:42 +00:00
Georg Brandl 8c9b3d6a13 Patch #1602128: clarify that richcmp methods can return NotImplemented
and should return True or False otherwise.
 (backport from rev. 54171)
2007-03-06 18:30:12 +00:00
Georg Brandl 1d56c2ff6a Patch #1671450: add a section about subclassing builtin types to the
"extending and embedding" tutorial.
 (backport from rev. 54150)
2007-03-06 10:02:59 +00:00
Georg Brandl ebfcfb015e Bugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and _Resize.
(backport from rev. 54088)
2007-03-02 20:30:19 +00:00
Andrew M. Kuchling 8bc8ab5fec Fix typo (noticed in Raymond's r54053 commit adding NamedTuple 2007-03-01 14:07:19 +00:00
Andrew M. Kuchling 366bf0d9cb Markup fix 2007-02-26 23:03:03 +00:00
Raymond Hettinger b66d33fcd0 Provide an example of defaultdict with non-zero constant factory function. 2007-02-19 19:26:16 +00:00
Georg Brandl 6b2a1a042d Add missing \versionadded.
(backport from rev. 53787)
2007-02-15 11:29:58 +00:00
Georg Brandl ee467d0ae7 Patch #1494140: Add documentation for the new struct.Struct object.
(backport from rev. 53785)
2007-02-15 11:29:08 +00:00
Georg Brandl d2bf6c0a06 Make functools.wraps() docs a bit clearer.
(backport from rev. 53783)
2007-02-15 10:38:03 +00:00
Martin v. Löwis f7f888a2f8 Bug #1658794: Remove extraneous 'this'. 2007-02-13 12:08:34 +00:00
Lars Gustäbel f5bf3b0c71 Bug #1656581: Point out that external file objects are supposed to be
at position 0. (backport from rev. 53752)
2007-02-12 09:27:10 +00:00
Georg Brandl d84f68b10f Bug #1656078: typo in in profile docs.
(backport from rev. 53697)
2007-02-09 18:48:44 +00:00
Martin v. Löwis 4b4f95d435 Update broken link. 2007-02-09 12:59:27 +00:00
Raymond Hettinger 05d59e2df7 SF: 1397711 Set docs conflated immutable and hashable 2007-02-07 21:03:24 +00:00
Georg Brandl d13eeb7fd2 Bug #1648191: typo in docs.
(backport from rev. 53603)
2007-01-30 20:21:35 +00:00
Fred Drake b17830e709 fix typo (extraneous ")") 2007-01-26 16:27:45 +00:00
Andrew M. Kuchling 564c9f5fb0 Strengthen warning about using lock() 2007-01-24 20:08:13 +00:00
Andrew M. Kuchling e69747c630 Update version of What's New 2007-01-22 15:14:15 +00:00
Raymond Hettinger 3b77d3d9a7 SF# 1635892: Fix docs for betavariate's input parameters . 2007-01-19 18:03:13 +00:00
Neal Norwitz fa941b9392 SF #1635217, Fix unbalanced paren 2007-01-19 05:52:46 +00:00
Georg Brandl eb68188a0d Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
(backport from rev. 53477)
2007-01-17 21:20:01 +00:00
Georg Brandl c3df1b1392 Bug #1637967: missing //= operator in list.
(backport from rev. 53475)
2007-01-17 21:09:07 +00:00
Andrew M. Kuchling dfad614321 [Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them 2007-01-17 19:56:06 +00:00
Matthias Klose 1c3d0de472 - Make the documentation match the code and the docstring 2007-01-11 10:25:45 +00:00
Vinay Sajip 73fa6b58dd Added relativeCreated to Formatter doc (has been in the system for a long time - was unaccountably left out of the docs and not noticed until now).
Documentation clarified to mention optional parameters.
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).
2007-01-08 09:36:17 +00:00
Anthony Baxter a7118d3a4a update to (c) years to include 2007 2007-01-06 04:50:44 +00:00
Gregory P. Smith a6e0f502ea typo fix 2007-01-05 07:22:29 +00:00
Gregory P. Smith 1a050f5f52 support linking the _bsddb extension module against BerkeleyDB 4.5
[backport of r53252]
2007-01-05 02:09:06 +00:00
Neal Norwitz d0f6729356 SF #1627373, fix typo in CarbonEvt. 2007-01-04 06:26:22 +00:00
Neal Norwitz 0c40ca6eb8 Remove a stray (old) macro name left around (I guess) 2006-12-28 04:39:54 +00:00
Thomas Heller 28cfe299be Fix wrong markup of an argument in a method signature.
Backported from trunk.
2006-12-21 18:31:36 +00:00
Andrew M. Kuchling 3bffd289b9 Mention the os.SEEK_* constants 2006-12-21 13:41:46 +00:00
Andrew M. Kuchling a9b9ae4678 [Bug #1619680] in_dll() arguments are documented in the wrong order 2006-12-20 20:20:56 +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
Andrew M. Kuchling 96e60652fa Two grammar fixes 2006-12-20 19:58:18 +00:00
Vinay Sajip e65f14fcc3 Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple. 2006-12-19 18:31:22 +00:00
Andrew M. Kuchling aa4135a45e [Bug #1618083] Add missing word; make a few grammar fixes 2006-12-18 17:13:10 +00:00
Matthias Klose f877b25008 - Fix the build of the library reference in info format. 2006-12-09 12:13:02 +00:00
Georg Brandl ec46940f3b RFE #1592899: mention string.maketrans() in docs for str.translate,
remove reference to the old regex module in the former's doc.
 (backport from rev. 52951)
2006-12-07 09:30:11 +00:00
George Yoshida 19d12d4cea Fix pickle doc typo
Patch #1608758
(backport from r52917)
2006-12-05 05:40:57 +00:00
Georg Brandl 425e2d15c5 Bug #1603789: grammatical error in Tkinter docs.
(backport from rev. 52850)
2006-11-27 18:46:47 +00:00
Georg Brandl 0c55236d39 Bug #1601630: little improvement to getopt docs
(backport from rev. 52833)
2006-11-23 09:55:10 +00:00
Neal Norwitz 6a3955e99d Fix SF #1599879, socket.gethostname should ref getfqdn directly. 2006-11-21 06:25:09 +00:00
Georg Brandl 7563191cf6 Bug #1597576: mention that the new base64 api has been introduced in py2.4.
(backport from rev. 52762)
2006-11-16 15:05:19 +00:00
Georg Brandl 8fc42c8aad Bug #1594758: wording improvement for dict.update() docs.
(backport from rev. 52733)
2006-11-11 18:32:50 +00:00
Georg Brandl c33b7488de Bug #1594742: wrong word in stringobject doc.
(backport from rev. 52731)
2006-11-11 18:29:15 +00:00
Andrew M. Kuchling 6d97478449 [Feature request #1542920] Link to wsgi.org 2006-11-10 14:39:17 +00:00
Georg Brandl 3ed5c2a277 Bug #1592533: rename variable in heapq doc example, to avoid shadowing
"sorted".
 (backport from rev. 52668)
2006-11-08 10:04:32 +00:00
Georg Brandl 082f14b61c Patch #1592072: fix docs for return value of PyErr_CheckSignals.
(backport from rev. 52666)
2006-11-08 07:46:01 +00:00
Andrew M. Kuchling cf1e760d3e Add missing word 2006-11-07 20:39:58 +00:00
Thomas Heller 27021f1cb8 Fix markup and grammatical errors. Backport from trunk 2006-11-07 18:23:14 +00:00
Skip Montanaro da65c6496d backport: note that user can control directory location even if default dir is used 2006-11-06 14:35:34 +00:00
Thomas Heller 5aafe92822 Fix code example by adding a missing import.
Fixes #1557890.

Backported from trunk.
2006-11-02 20:24:26 +00:00
Thomas Heller 906681b4d6 Replace the XXX marker in the 'Arrays and pointers' reference manual
section with a link to the tutorial sections.

Backported from trunk.
2006-11-02 19:52:43 +00:00
Neal Norwitz 7f2075a490 From SF 1557890, fix problem of using wrong type in example. 2006-10-28 22:13:22 +00:00
Georg Brandl aabdd5480c Fix nth() itertool recipe.
(backport from rev. 52497)
2006-10-28 16:04:07 +00:00
Andrew M. Kuchling d2ee30b485 Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules 2006-10-27 14:54:43 +00:00