Łukasz Langa
3a8479a583
Fixes `parser.clean()` reported in issue #16820 .
13 years ago
Raymond Hettinger
c195b4e88c
Make the from_iterable() recipe more usable.
The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.
The updated example drops the @classmethod decorator so that
it can be used standalone: list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.
13 years ago
Ezio Melotti
52336f0b50
#16796 : fix typo. Patch by Michael Schurter.
13 years ago
Ezio Melotti
82ee30384c
#16796 : fix typo. Patch by Michael Schurter.
13 years ago
Serhiy Storchaka
c8bd74ddfd
Issue #16682 : Replace "Python string" to "bytes object" in audioop documentation.
13 years ago
Jesus Cea
c73f863a8d
Closes #16789 : :meth:`quit` links to constants instead of own module
13 years ago
Jesus Cea
4947049b40
Closes #16789 : :meth:`quit` links to constants instead of own module
13 years ago
Chris Jerdonek
cf4710c323
Add additional links and index entries for "argument" and "parameter".
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
13 years ago
Kristján Valur Jónsson
36852b7844
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
13 years ago
Chris Jerdonek
b7c2386a3f
Fix Sphinx warning (missing "setting-envvars" reference).
This fixes the following warning when building the docs (probably from
the commit for issue #14901 ):
"/Doc/faq/windows.rst:138: WARNING: undefined label: setting-envvars (if the
link has no caption the label must precede a section header)"
13 years ago
Chris Jerdonek
b43099464a
Add additional links and index entries for "argument" and "parameter".
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
13 years ago
Kristján Valur Jónsson
b0d1c37d73
Issue #14574 : Ignore socket errors raised when flushing a connection on close.
13 years ago
Ezio Melotti
3b65a9eeed
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
13 years ago
Ezio Melotti
090f7be6df
#16760 : use ref:`match-objects` instead of :class:`MatchObject`.
13 years ago
Ezio Melotti
4268b3a751
#16677 : rename section header and fix markup.
13 years ago
Ezio Melotti
9f929bb7df
#16677 : rename section header and fix markup.
13 years ago
Ezio Melotti
513e9b4f61
#16666 : document default values for socket.getaddrinfo in the text to clarify that it doesn't accept keyword args.
13 years ago
Georg Brandl
8e1e8165a3
Add missing label.
13 years ago
Georg Brandl
9a772e5e8f
Fix indentation.
13 years ago
Andrew Svetlov
4bb142b1b7
Issue #16714 : use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
13 years ago
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
13 years ago
Andrew Svetlov
4001e96179
Issue #16711 : Fix required method names for collections.Iterator
Thanks to Inada Naoki
13 years ago
Andrew Svetlov
f635172c72
Update example: Counter.subtract returns None, not self
13 years ago
Andrew Svetlov
78efadb86f
Update example: Counter.subtract returns None, not self
13 years ago
Andrew Svetlov
dfe109e33f
Fix typo
13 years ago
Brian Curtin
bc453ca81d
Fix #14901 . Update some sections of Windows FAQ.
Patch by Ashish Nitin Patil.
13 years ago
Brian Curtin
655b0c462f
Fix #14901 . Update the Windows FAQ.
Patch by Ashish Nitin Patil.
13 years ago
Ezio Melotti
e0035a212b
#16683 : restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
13 years ago
Ezio Melotti
eea058b014
#16683 : restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
13 years ago
Ezio Melotti
1e5c9b70b4
#16681 : use "bidirectional class" instead of "bidirectional category".
13 years ago
Ezio Melotti
28d21cab1f
#16681 : use "bidirectional class" instead of "bidirectional category".
13 years ago
Senthil Kumaran
2e72831369
Fix issue13211 - Document the reason attribute for urllib.error.HTTPError
13 years ago
Senthil Kumaran
bfb0989ea7
Document the reason attribute of urllib.HTTPError Patch by Berker Peksag
13 years ago
Éric Araujo
9bc9ab5f85
Fix a few markup/grammar nits
13 years ago
Éric Araujo
3e4a3dcb23
Ignore .nfs* files in distutils ( #7719 ).
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
13 years ago
Éric Araujo
5ead5549d0
Add versionchanged note for a56cebff113a
13 years ago
Andrew Svetlov
bd5279ea24
Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
13 years ago
Andrew Svetlov
09974b4e9e
Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
13 years ago
Ezio Melotti
b7bc92530e
Remove debug output from example.
13 years ago
Ezio Melotti
5a2e2b8ff7
Remove debug output from example.
13 years ago
Andrew Svetlov
766849b978
Document that hour in datetime.time ctor is optional parameter.
Thanks to Sean Munkel from docs@
13 years ago
Andrew Svetlov
ed636a84b9
Specify which I/O ABC methods have implementations in the docs.
13 years ago
Benjamin Peterson
d5f462bbc4
document UnicodeError attributes
13 years ago
Ezio Melotti
63b04486f8
#16589 : fix pprint signatures in the doc (backport of 106ee4eb5970).
13 years ago
Chris Jerdonek
8da8268b1f
Backport from 3.2: improve argument/parameter documentation (issue #15990 ).
The corresponding 3.x commits are 69d5d834c5cb, 40fd26a4206b, and
74d8a2a20c52.
13 years ago
Andrew Svetlov
6a5c2e64d9
Issue #16194 : document imp.load_dynamic problems
when read several extension modules from the same binary object file.
13 years ago
Ezio Melotti
d654dedbbb
#16333 : document a way to get rid of trailing whitespace when indent is used.
13 years ago
Ezio Melotti
3a237ebcaa
#16333 : document a way to get rid of trailing whitespace when indent is used.
13 years ago
Andrew Svetlov
74120996f5
Revert duplicate changes in argparse docs.
13 years ago
Andrew Svetlov
e15cb61dde
Issue #11076 : document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
13 years ago