Commit graph

9051 commits

Author SHA1 Message Date
Ezio Melotti
f21c7ed39d #10299: Add a table that lists all the built-in functions in functions.rst 2010-11-24 20:18:02 +00:00
Terry Reedy
8b7eef3413 Issue 1859: Document that textwrap does not break on \n
Merged from 86717
2010-11-23 20:25:19 +00:00
Terry Reedy
6d2ab7126e Issue 1859: Doc that textwrap does not break on \n (pending possible behavior patch). Patch by Jeremy Thurgood. 2010-11-23 20:17:24 +00:00
Georg Brandl
57410c12e8 #10511: clarification of what heaps are; suggested by Johannes Hoff. 2010-11-23 08:37:54 +00:00
Ezio Melotti
2baf1a69f4 #9424: add a DeprecationWarning for assertEquals, assertNotEquals, assertAlmostEquals, assertNotAlmostEquals, and assert_ 2010-11-22 12:56:58 +00:00
Éric Araujo
da825ab2dd Merged revisions 86670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86670 | eric.araujo | 2010-11-22 04:09:19 +0100 (lun., 22 nov. 2010) | 5 lines


  Remove unnecessary `object` base class in docs (#10366).

  Also add a note about inheritance from `object` being default.
........
2010-11-22 03:18:24 +00:00
Éric Araujo
28053fb174 Remove unnecessary object base class in docs (#10366).
Also add a note about inheritance from `object` being default.
2010-11-22 03:09:19 +00:00
Alexander Belopolsky
d4bbab278f Issue #10138: Removed 'indefinitely' from the proleptic calendar description. 2010-11-22 03:06:56 +00:00
Raymond Hettinger
2a07d6eefc Issue 3292: Fixup to the Sequence docs. 2010-11-21 23:51:45 +00:00
Raymond Hettinger
0ef956f997 Issue 6722: Improve the namedtuple examples. 2010-11-21 23:23:29 +00:00
Michael Foord
086f30815c Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.) 2010-11-21 21:28:01 +00:00
Mark Dickinson
47c74ac977 Issue #10488: Bring documentation for 'float' builtin up to date. 2010-11-21 21:09:58 +00:00
Senthil Kumaran
e4dad4f8e2 Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call. 2010-11-21 14:36:14 +00:00
Łukasz Langa
5c86339bd0 Issue #10489: removed broken __name__ support from configparser 2010-11-21 13:41:35 +00:00
Mark Dickinson
b2b2382dc4 Fix capitalization. 2010-11-21 07:37:49 +00:00
Nick Coghlan
2dad5cade4 Add a couple of missing versionadded tags in the inspect module docs 2010-11-21 03:55:53 +00:00
Nick Coghlan
e0f04659cd Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt 2010-11-21 03:44:04 +00:00
Éric Araujo
d3309df40b Style edits in followup to r86521 (#9312) 2010-11-21 03:09:17 +00:00
Raymond Hettinger
2a1e3e29d4 Issue #7770: Note the useful range of sin/cos in the decimal module examples. 2010-11-21 02:47:22 +00:00
Éric Araujo
b65b4937e2 Merged revisions 86625 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86625 | eric.araujo | 2010-11-21 00:56:22 +0100 (dim., 21 nov. 2010) | 2 lines

  Document index and count as part of the Sequence ABC (#9746)
........
2010-11-21 00:43:28 +00:00
Raymond Hettinger
fe502ea0e8 Clean-up the description of the range object. 2010-11-21 00:07:55 +00:00
Éric Araujo
0f44179422 Document index and count as part of the Sequence ABC (#9746) 2010-11-20 23:56:22 +00:00
Antoine Pitrou
60d8684e4f Merged revisions 86603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86603 | antoine.pitrou | 2010-11-20 20:36:05 +0100 (sam., 20 nov. 2010) | 3 lines

  In 3.x, bytearray is akin to bytes, not str.
........
2010-11-20 19:36:35 +00:00
Antoine Pitrou
b85b3afad0 In 3.x, bytearray is akin to bytes, not str. 2010-11-20 19:36:05 +00:00
Michael Foord
e516265bbc Issue 9732: fetch the method resolution order from the type metaclass directly in getattr_static 2010-11-20 16:40:44 +00:00
Michael Foord
cc7ebb8f69 Issue 9732: remove use of __class__ in inspect.getattr_static and note the mro exception to code execution 2010-11-20 16:20:16 +00:00
Michael Foord
95fc51dfda Issue 9732: addition of getattr_static to the inspect module 2010-11-20 15:07:30 +00:00
Ezio Melotti
75b2a5ee11 Use correct markup for True/False/None 2010-11-20 10:13:45 +00:00
Ezio Melotti
22170edaf5 Add a few labels and links to unittest doc 2010-11-20 09:57:27 +00:00
Ezio Melotti
92165e6af7 Merged revisions 86528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86528 | ezio.melotti | 2010-11-18 21:48:27 +0200 (Thu, 18 Nov 2010) | 1 line

  #10455: fix typo
........
2010-11-18 19:49:19 +00:00
Ezio Melotti
b970142707 #10455: fix typo 2010-11-18 19:48:27 +00:00
Alexander Belopolsky
689aa6d3fa Merged revisions 86526 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86526 | alexander.belopolsky | 2010-11-18 13:50:13 -0500 (Thu, 18 Nov 2010) | 1 line

  Issue 7828: Fixed chr() and ord() documentation for wide characters
........
2010-11-18 18:52:11 +00:00
Alexander Belopolsky
5d4dd3eeb2 Issue 7828: Fixed chr() and ord() documentation for wide characters 2010-11-18 18:50:13 +00:00
Éric Araujo
713d3039dc Fix usage of :option: in the docs (#9312).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option.  These were
changed to ````.

For modules which do have a command-line interface, lists of options
have been properly marked up with the program/cmdoption directives
combo.  Options defined in such blocks can be linked to with :option:
later in the same file, they won’t link to an option of python.

Finally, the markup of command-line fragments in optparse.rst has
been cleaned to use ``x`` instead of ``"x"``, keeping that latter
form for actual Python strings.

Patch by Eli Bendersky and Éric Araujo.
2010-11-18 16:38:46 +00:00
Éric Araujo
b10089edba Remove spurious space that was breaking Vim’s reST highlighting. 2010-11-18 14:22:08 +00:00
Kristján Valur Jónsson
6331520950 Issue 10260
Adding the wait_for() method to threading.Condition
2010-11-18 12:46:39 +00:00
Alexander Belopolsky
4979b9b91e Merged revisions 86504 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86504 | alexander.belopolsky | 2010-11-17 20:52:54 -0500 (Wed, 17 Nov 2010) | 15 lines

  Issue #10446: Several changes to module documentation generated by pydoc:

  1. Online reference manual link is now version-specific and the
     'MODULE DOCS' section renamed to 'MODULE REFERENCE'.

  2. 'FILE' section is moved to the end of the file.

  3. Special names processed by pydoc such as __version__ or __credits__
     are now excluded from the DATA section.

  4. Defined __all__ to prevent pydoc from exposing undocumented details
     about itself.

  5. Removed Python 2.3 compatibility code.
........
2010-11-18 01:58:16 +00:00
Alexander Belopolsky
a47bbf5a4b Issue #10446: Several changes to module documentation generated by pydoc:
1. Online reference manual link is now version-specific and the
   'MODULE DOCS' section renamed to 'MODULE REFERENCE'.

2. 'FILE' section is moved to the end of the file.

3. Special names processed by pydoc such as __version__ or __credits__
   are now excluded from the DATA section.

4. Defined __all__ to prevent pydoc from exposing undocumented details
   about itself.

5. Removed Python 2.3 compatibility code.
2010-11-18 01:52:54 +00:00
Antoine Pitrou
664c2d1fc0 Issue #10443: Add the SSLContext.set_default_verify_paths() method. 2010-11-17 20:29:42 +00:00
Antoine Pitrou
b6d4ee5361 Issue #10440: Support RUSAGE_THREAD as a constant in the resource module.
Patch by Robert Collins.
2010-11-17 16:19:35 +00:00
Éric Araujo
6e6cb8e0e4 Provide links to Python source where the code is short, readable and
informative adjunct to the docs.  Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334.
2010-11-16 19:13:50 +00:00
Vinay Sajip
8593ae6451 Logging: added stack_info argument. 2010-11-14 21:33:04 +00:00
Fred Drake
5a7c11f92f fix copy-editing level nits 2010-11-13 05:24:17 +00:00
Antoine Pitrou
f3b001f966 Issue #4471: Add the IMAP.starttls() method to enable encryption on
standard IMAP4 connections.  Original patch by Lorenzo M. Catucci.
2010-11-12 18:49:16 +00:00
Georg Brandl
40d23e81dc Fix weird line block in table. 2010-11-12 08:09:26 +00:00
Georg Brandl
5e92a50ac0 #10008: Fix duplicate index entry. 2010-11-12 06:20:12 +00:00
R. David Murray
f959b7feaa Merged revisions 86419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86419 | r.david.murray | 2010-11-11 19:35:31 -0500 (Thu, 11 Nov 2010) | 4 lines

  #7950: add warning about security implications of shell=True to subprocess docs

  Patch by Chris Rebert.
........
2010-11-12 00:38:41 +00:00
R. David Murray
c7399d0a0f #7950: add warning about security implications of shell=True to subprocess docs
Patch by Chris Rebert.
2010-11-12 00:35:31 +00:00
R. David Murray
6495136e40 #1466065: add validate option to base64.b64decode
Patch by Neil Tallim.  This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
2010-11-11 20:09:20 +00:00
Georg Brandl
bb27c128a5 Review the new configparser docs. 2010-11-11 07:26:40 +00:00