Andrew Svetlov
a7129d38ed
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 17:59:23 +02:00
Andrew Svetlov
09974b4e9e
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 17:59:03 +02:00
Nick Coghlan
cea27be888
Close issue #16267 : better docs for @abstractmethod composition
2012-12-08 22:56:02 +10:00
Nick Coghlan
8e18fc8c0b
Issue #15209 : Clarify exception chaining description
...
- not allowed when implicitly re-raised the current exception
- last exception raised is always displayed last
- attempt to make it clearer when/if cause and context are shown
2012-12-08 21:39:24 +10:00
Ezio Melotti
c990f3b167
Merge debug output removal with 3.2.
2012-12-08 12:30:44 +02:00
Ezio Melotti
5a2e2b8ff7
Remove debug output from example.
2012-12-08 12:29:40 +02:00
Andrew Svetlov
f04d1bb170
Specify which I/O ABC methods have implementations in the docs.
2012-12-06 12:21:12 +02:00
Andrew Svetlov
ed636a84b9
Specify which I/O ABC methods have implementations in the docs.
2012-12-06 12:20:56 +02:00
Andrew Svetlov
73a5a12dcf
Fix typo.
2012-12-05 11:12:14 +02:00
Benjamin Peterson
78f7e3a8dc
document UnicodeError attributes
2012-12-02 11:33:06 -05:00
Benjamin Peterson
196035595f
document that encoding error handlers may return bytes ( #16585 )
2012-12-02 11:26:10 -05:00
Andrew Svetlov
f4c3a187d5
Remove redundant sentence from c-api docs (issue #16323 )
2012-11-29 15:23:15 +02:00
Ezio Melotti
57af3bf158
#16333 : merge with 3.2.
2012-11-29 00:36:42 +02:00
Ezio Melotti
d654dedbbb
#16333 : document a way to get rid of trailing whitespace when indent is used.
2012-11-29 00:35:29 +02:00
Andrew Svetlov
eff1738e01
Revert duplicate changes in argparse docs.
2012-11-28 19:24:31 +02:00
Andrew Svetlov
74120996f5
Revert duplicate changes in argparse docs.
2012-11-28 19:23:52 +02:00
Andrew Svetlov
51292fff3f
Merge issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:18:09 +02:00
Andrew Svetlov
e15cb61dde
Issue #11076 : document the way to convert argparse.Namespace to a dict.
...
Initial patch by Virgil Dupras.
2012-11-28 19:17:26 +02:00
Chris Jerdonek
1fb47587a1
Merge heads.
2012-11-28 02:45:34 -08:00
Chris Jerdonek
d97c71feda
Merge from 3.2: improve argument/parameter documentation (issue #15990 ).
2012-11-28 02:37:42 -08:00
Andrew Svetlov
0fe030bb03
Issue #16323 : Fix wrong C API documentation for locale encoding.
...
Patch by Berker Peksag.
2012-11-28 12:33:58 +02:00
Chris Jerdonek
c2a7fd60e1
Improve argument/parameter documentation (issue #15990 ).
...
This commit adds "parameter" to the glossary, improves and consolidates the
"argument" glossary entry, and adds a question to the FAQ on the difference
between arguments and parameters.
2012-11-28 02:29:33 -08:00
Chris Jerdonek
bb4e941c6d
Add a str class entry to the "Text Sequence Type" section (issue #16209 ).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Ezio Melotti
7768dd77c1
#16556 : merge with 3.2.
2012-11-27 19:18:47 +02:00
Ezio Melotti
28c88f48f9
#16556 : Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
2012-11-27 19:17:57 +02:00
Chris Jerdonek
3b39d35eeb
Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552 ).
2012-11-25 20:40:57 -08:00
Chris Jerdonek
0b502ff33b
Add hyperlinks to the docs of some os.path functions (issue #16552 ).
2012-11-25 20:38:01 -08:00
Ezio Melotti
44dcd6bcb2
#16530 : merge with 3.2.
2012-11-23 19:46:29 +02:00
Ezio Melotti
ba4d8ed8f8
#16530 : the "options" arg of os.wait3 is required.
2012-11-23 19:45:52 +02:00
Andrew Svetlov
a5c430940c
Issue #16538 : correctly describe MAKE_CLOSURE in docs.
...
Patch by Daniel Urban
2012-11-23 15:28:34 +02:00
Éric Araujo
5bd9270954
Address reviews for open’s opener argument doc patch ( #13424 ).
...
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
2012-11-22 00:13:49 -05:00
Chris Jerdonek
777db2d838
Fix label in docs (from issue #13538 ).
2012-11-21 05:32:44 -08:00
Chris Jerdonek
5fae0e5854
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:45:51 -08:00
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:31:02 -08:00
Barry Warsaw
82c1c781c7
- Issue #16514 : Fix regression causing a traceback when sys.path[0] is None
...
(actually, any non-string or non-bytes type).
2012-11-20 15:22:51 -05:00
Andrew Svetlov
23089ab1db
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
2012-11-20 16:12:38 +02:00
Antoine Pitrou
946eb45930
The poplib module provides two classes, not one.
2012-11-18 18:37:24 +01:00
Antoine Pitrou
3813c9efb7
The poplib module provides two classes, not one.
2012-11-18 18:37:02 +01:00
Ezio Melotti
186ab5f404
#16053 : merge with 3.2.
2012-11-18 12:56:17 +02:00
Ezio Melotti
a69be2803b
#16053 : document csv.Dialect.strict. Patch by Kushal Das.
2012-11-18 12:55:35 +02:00
Mark Dickinson
eb54deb2d2
Merge typo fix from 3.2.
2012-11-18 10:42:27 +00:00
Mark Dickinson
ec967246a1
Typo fix.
2012-11-18 10:42:07 +00:00
Mark Dickinson
f56c361212
Issue #12005 : merge doc patch from 3.2
2012-11-18 10:22:40 +00:00
Mark Dickinson
a3f37408da
Issue #12005 : clarify behaviour of % and // for Decimal objects.
2012-11-18 10:22:05 +00:00
Ezio Melotti
fa7aeecbca
#16157 : fix links in the whatsnew files.
2012-11-17 19:29:12 +02:00
Ezio Melotti
9c594af3dd
#16420 : merge with 3.2.
2012-11-17 17:38:58 +02:00
Ezio Melotti
a39a22dc0b
#16420 : document a way to escape metacharacters in glob/fnmatch.
2012-11-17 17:38:11 +02:00
Brett Cannon
56b4ca78d8
Issue #16489 : Make it clearer that importlib.find_loader() requires
...
the user to import any parent packages.
2012-11-17 09:30:55 -05:00
Ezio Melotti
4a42ec5089
Merge updates about dir() with 3.2.
2012-11-17 12:54:45 +02:00
Ezio Melotti
52e855084d
Update section about dir() in the tutorial.
2012-11-17 12:50:14 +02:00
Ezio Melotti
0bbfae3be4
Merge rephrasing with 3.2.
2012-11-17 12:06:26 +02:00
Ezio Melotti
89b03b0ec6
Rephrase a sentence in the set and dict comprehensions tutorial page.
2012-11-17 12:06:01 +02:00
Andrew Svetlov
e2cf03e499
Issue #16144 : Fix misleading sentence in reference/import.
...
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:21 +02:00
Chris Jerdonek
251269ccc8
Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400 ).
2012-11-14 12:24:21 -08:00
Chris Jerdonek
f9e49eaefc
Update the description of which package versions PyPI displays (issue #16400 ).
2012-11-14 12:12:30 -08:00
Nadeem Vawda
6ff262e18f
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:14:47 +01:00
Nadeem Vawda
19e568d254
Issue #15677 : Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
...
Patch by Brian Brazil.
2012-11-11 14:04:14 +01:00
Gregory P. Smith
6b0bdab429
Fixes issue #16409 : The reporthook callback made by the legacy
...
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7. This matches the
behavior of urllib.request.URLopener.retrieve.
2012-11-10 13:43:44 -08:00
Chris Jerdonek
296c2fd065
Merge from 3.2: adjust set and frozenset function docs (issue #16436 ).
2012-11-09 18:58:06 -08:00
Chris Jerdonek
df3abec2c9
Link set and frozenset function docs to their class definitions (issue #16436 ).
2012-11-09 18:57:32 -08:00
Chris Jerdonek
fe08756743
Merge from 3.2: improve FAQ link in documentation (for issue #16435 ).
2012-11-09 17:53:14 -08:00
Chris Jerdonek
4ed4b1c7fe
Improve FAQ link in documentation (for issue #16435 ).
2012-11-09 17:52:30 -08:00
Ezio Melotti
a3ad8a0ce7
#16440 : merge with 3.2.
2012-11-09 01:09:10 +02:00
Ezio Melotti
8b6b176b33
#16440 : fix exception type and clarify example.
2012-11-09 01:08:25 +02:00
Andrew Svetlov
7cac2d8368
Merge issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:27:39 +02:00
Andrew Svetlov
5c90436d64
Issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:26:53 +02:00
Andrew Svetlov
b5570e9909
Merge issue #16435 : Link in tutorial now points to python3 FAQ.
...
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:22 +02:00
Andrew Svetlov
0e9a065275
Issue #16435 : Link in tutorial now points to python3 FAQ.
...
Thanks to Yongzhi Pan from docs@
2012-11-08 16:10:49 +02:00
Ezio Melotti
b77dc4ec5f
#11481 : merge with 3.2.
2012-11-08 11:06:01 +02:00
Ezio Melotti
78b18d4b4c
#11481 : update copyreg docs and add example.
2012-11-08 11:04:57 +02:00
Ezio Melotti
60e22b9c5d
#10385 : merge with 3.2.
2012-11-08 10:09:06 +02:00
Ezio Melotti
402f75d966
#10385 : use the mod role in subprocess docs.
2012-11-08 10:07:10 +02:00
Ezio Melotti
99bafff7cc
Fix typo noticed by Tom Lynn.
2012-11-05 22:22:48 +02:00
Ezio Melotti
7ce22d1940
#16304 : merge with 3.2.
2012-11-04 06:59:51 +02:00
Ezio Melotti
b87f82f8d4
#16304 : clarify match objects docs. Initial patch by Jan Duzinkiewicz.
2012-11-04 06:59:22 +02:00
Éric Araujo
309b043237
Avoid fd leak in example. Caught by Serhiy.
2012-11-03 17:39:45 -04:00
Éric Araujo
8f423c9359
Add examples for opener argument of open ( #13424 ).
...
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Chris Jerdonek
1c8bb9f4d5
Merge from 3.2: link to mapping glossary entry in docs.
2012-11-03 12:06:42 -07:00
Chris Jerdonek
11f3f172e7
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
2012-11-03 12:05:55 -07:00
Ezio Melotti
befaac03bb
#4711 : merge with 3.2.
2012-11-03 18:29:16 +02:00
Ezio Melotti
dedfa9bfae
#4711 : break long words in the docs sidebar to avoid overflow.
2012-11-03 18:25:04 +02:00
Stefan Krah
4af77a0276
Issue #15814 : Use hash function that is compatible with the equality
...
definition from #15573 .
2012-11-02 17:49:22 +01:00
Georg Brandl
ed71918d12
merge with 3.2
2012-11-02 07:34:46 +01:00
Georg Brandl
4552e3f95c
Grammar touchup.
2012-11-02 07:34:37 +01:00
Andrew Svetlov
e2af509829
Merge issue #1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
...
Patch by Todd Rovito.
2012-11-01 22:44:06 +02:00
Andrew Svetlov
d183767ca4
Issue #1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
...
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Andrew Svetlov
129f57bc51
Merge: Reword set docs to use *proper subset/superset* terminology.
2012-11-01 21:48:16 +02:00
Andrew Svetlov
5bb420761f
Reword set docs to use *proper subset/superset* terminology.
2012-11-01 21:47:54 +02:00
Andrew Svetlov
7c91dbec0e
Merge issue #14893 : Add function annotation example to function tutorial.
...
Patch by Zachary Ware.
2012-11-01 21:27:23 +02:00
Andrew Svetlov
1491cbdf63
Issue #14893 : Add function annotation example to function tutorial.
...
Patch by Zachary Ware.
2012-11-01 21:26:55 +02:00
Andrew Svetlov
01e1e35f6a
merge heads
2012-10-31 22:05:46 +02:00
Andrew Svetlov
1e61e58be3
Merge issue #14900 : document added sort keys for profile stats.
2012-10-31 22:04:06 +02:00
Andrew Svetlov
5f91ad3550
Issue #14900 : document added sort keys for profile stats.
2012-10-31 22:03:28 +02:00
Mark Dickinson
d3405edcdc
Issue #16348 : merge fix from 3.2.
2012-10-31 19:45:05 +00:00
Mark Dickinson
6ae568b9df
Issue #16348 : Fix incorrect documentation for Decimal.remainder_near.
2012-10-31 19:44:36 +00:00
Andrew Svetlov
616f8035a8
Issue #16197 : Fix several small errors in winreg documentation.
...
Initial patch by Zachary Ware.
2012-10-31 19:29:33 +02:00
R David Murray
3e11d6583a
merge #16371 : fix up the English a bit more.
2012-10-31 10:51:35 -04:00
R David Murray
a2959cea3f
#16371 : fix up the English a bit more.
2012-10-31 10:50:27 -04:00
Andrew Svetlov
0451d251f9
Merge issue #16371 : fix typo in ctypes documentation.
...
Thanks to George Yoshida.
2012-10-31 16:21:16 +02:00
Andrew Svetlov
ec42255039
Issue #16371 : fix typo in ctypes documentation.
...
Thanks to George Yoshida.
2012-10-31 16:20:54 +02:00
Andrew Svetlov
694f9ce343
Merge issue #16370 : Mention Py_SetProgramName in example for very high level embedding.
2012-10-31 16:03:44 +02:00
Andrew Svetlov
e1fa22a8ae
Issue #16370 : Mention Py_SetProgramName in example for very high level embedding.
2012-10-31 16:03:14 +02:00
Andrew Svetlov
f9c7c3641b
Merge: Remove already dropped function PySys_GetFile from documentation.
...
Thanks to Daniel Müllner from docs@
2012-10-31 12:03:18 +02:00
Andrew Svetlov
4deb16dd75
Remove already dropped function PySys_GetFile from documentation.
...
Thanks to Daniel Müllner from docs@
2012-10-31 12:02:56 +02:00
Andrew Svetlov
7ea6f706ac
Fix typo in mock docs.
2012-10-31 11:29:52 +02:00
Brian Curtin
6b879fa402
Merge 3.2
2012-10-29 18:18:43 -05:00
Brian Curtin
e9aeca7c24
Fix #16197 . Update docstrings and documentation to match winreg code.
...
Patch by Zachary Ware.
2012-10-29 18:16:39 -05:00
Chris Jerdonek
d285029ee8
Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages.
2012-10-28 11:10:24 -07:00
Chris Jerdonek
8b7f9f581d
Remove unneeded "Release" and "Date" markers from doc index pages.
2012-10-28 11:08:26 -07:00
Georg Brandl
ff65a10418
Remove confusing "Release" and "Date" markers from whatsnews. Merge with 3.2.
2012-10-28 13:37:18 +01:00
Georg Brandl
6a935d9230
merge heads
2012-10-28 13:37:05 +01:00
Georg Brandl
75f0020d29
Remove confusing "Release" and "Date" markers from whatsnews.
2012-10-28 13:35:56 +01:00
Andrew Svetlov
21b102481b
merge heads
2012-10-28 14:12:50 +02:00
Andrew Svetlov
6d50a5447a
Merge issue #14570 : Document json sort_keys parameter properly.
...
Patch by Chris Rebert.
2012-10-28 14:11:00 +02:00
Andrew Svetlov
2ec53be2e2
Issue #14570 : Document json sort_keys parameter properly.
...
Patch by Chris Rebert.
2012-10-28 14:10:30 +02:00
Andrew Svetlov
c2415eb7e6
Issue #14616 : Mention shlex.quote in subprocess docs.
...
Patch by Chris Rebert.
2012-10-28 11:42:26 +02:00
Georg Brandl
01f47e82a3
Add a autobuild-quick target that only rebuilds HTML.
2012-10-28 08:09:02 +01:00
Georg Brandl
ab5da6a80e
merge with 3.2
2012-10-28 07:59:54 +01:00
Georg Brandl
fffc25da83
#8040 : fix jQuery incompatibility
2012-10-28 07:59:42 +01:00
Ezio Melotti
971ba4c817
#16337 : fix typo.
2012-10-27 23:25:18 +03:00
Ezio Melotti
edde409f60
#8040 : merge with 3.2.
2012-10-27 23:13:22 +03:00
Ezio Melotti
e5b1023ae2
#8040 : fix the version.
2012-10-27 23:12:48 +03:00
Ezio Melotti
fe71bb52e4
#8040 : merge with 3.2.
2012-10-27 22:29:50 +03:00
Ezio Melotti
58864b3cad
#8040 : enable the versionswitcher for the autobuild-dev target.
2012-10-27 22:28:48 +03:00
Ezio Melotti
8630c1e346
#8040 : merge with 3.2.
2012-10-27 22:11:33 +03:00
Ezio Melotti
380ce651e9
#8040 : add a version switcher to the documentation. Patch by Yury Selivanov.
2012-10-27 22:09:16 +03:00
Senthil Kumaran
0b3014dda0
merge from 3.2
2012-10-27 11:05:32 -07:00
Senthil Kumaran
847c33cc3b
Include mention of jenkins as an example framework for doing CI
2012-10-27 11:04:55 -07:00
Andrew Svetlov
735d31723f
Issue #16243 : add example for inspect.formatargspec
...
Patch by Berker Peksag.
2012-10-27 00:28:20 +03:00
Ezio Melotti
0ada6f1a52
#16317 : mention lzma in the tutorial. Patch by Serhiy Storchaka.
2012-10-26 19:33:07 +03:00
Ezio Melotti
a5941f8643
#16206 : merge with 3.2.
2012-10-26 19:15:26 +03:00
Ezio Melotti
a20879ffc8
#16206 : Improve examples about dict construction.
2012-10-26 19:14:16 +03:00
Chris Jerdonek
8b0f3ad9fa
Merge from 3.2: fix formatting of syntax description of function definition.
2012-10-25 17:23:14 -07:00
Chris Jerdonek
c131b0760d
Fix formatting of syntax description of function definition.
2012-10-25 17:21:22 -07:00
Ezio Melotti
e6c0f0d94a
#16210 : merge with 3.2.
2012-10-24 23:06:56 +03:00
Ezio Melotti
837cd06d36
#16210 : combine the two type() docs. Patch by Pete Sevander.
2012-10-24 23:06:25 +03:00
Andrew Svetlov
950d5fdc7f
Issue #16241 : document -X faulthandler command line option.
...
Patch by Marek Šuppa.
2012-10-23 16:19:26 +03:00
Jesus Cea
80c2f4fc43
MERGE: Closes #16294 : 8 space indent in tutorial
2012-10-22 13:15:45 +02:00
Jesus Cea
af38774b5f
Closes #16294 : 8 space indent in tutorial
2012-10-22 13:15:17 +02:00
Ezio Melotti
8cd45bd48d
Fix PEP name.
2012-10-21 07:36:58 +03:00
Ezio Melotti
1f67e80564
Fix typo.
2012-10-21 07:24:13 +03:00
Ezio Melotti
b24d3cf769
Fix indentation (or Sphinx will think these are attributes of ConnectionError).
2012-10-21 03:22:05 +03:00
Ned Deily
d2cc1bb057
Issue #10405 : merge from 3.2
2012-10-20 13:27:32 -07:00
Ned Deily
2778d0d147
Issue #10405 : Document IDLE context menus in Standard Library document
...
and IDLE Help file. (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:25:34 -07:00
Ezio Melotti
76e7ea5b4c
Fix punctuation.
2012-10-20 22:53:47 +03:00
Ezio Melotti
36e01df18e
Move note about the implementation in the "seealso".
2012-10-20 16:26:18 +03:00
Nick Coghlan
40c67739ba
Fix typo in example (pointed out by a couple of people, most recently Ken Rimey)
2012-10-20 20:13:21 +10:00
Ezio Melotti
5b69fbd4c9
Remove wrong escape in code snippet.
2012-10-19 20:40:18 +03:00
Chris Jerdonek
206f962f32
Merge from 3.2: clarify universal-newline wording in tutorial (issue #16266 ).
2012-10-17 20:21:05 -07:00
Chris Jerdonek
5bf7f1f6e3
Clarify universal-newline wording in tutorial (issue #16266 ).
2012-10-17 20:17:41 -07:00
Andrew Svetlov
2365f41a0e
Merge issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:16:19 +03:00
Andrew Svetlov
abfc7df149
Issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Andrew Svetlov
65b4b40e24
Merge issue #16265 : Fix collapsing of code sample in tutorial.
...
Thanks to Yongzhi Pan from docs@
2012-10-17 16:46:00 +03:00
Andrew Svetlov
e9cf97cf20
Issue #16265 : Fix collapsing of code sample in tutorial.
...
Thanks to Yongzhi Pan from docs@
2012-10-17 16:41:28 +03:00
R David Murray
e54c718572
A couple more whatsnew updates.
2012-10-16 21:52:24 -04:00
Ezio Melotti
ad626807a6
Fix typo.
2012-10-16 21:50:33 +03:00
Nick Coghlan
d6d5cf33ef
A dict comprehension is much prettier (thanks Antoine)
2012-10-16 23:14:03 +10:00
Nick Coghlan
f06ea25df2
Tweak the threaded example in concurrent.futures
2012-10-16 22:50:04 +10:00
Andrew Svetlov
2bfe386091
Issue #15936 : Reformat text for os.random to follow Larry Hastings suggestion
2012-10-16 13:52:25 +03:00
Andrew Svetlov
03cb99c2d1
Issue #15936 : Add link from os.urandom to random.SystemRandom
2012-10-16 13:15:06 +03:00
Chris Jerdonek
38049bb251
Issue #16225 : Merge from 3.2: Add additional note to tutorial about looping.
2012-10-15 19:46:34 -07:00
Chris Jerdonek
4fab8f0e06
Issue #16225 : Add additional note to tutorial about changing sequence while looping.
2012-10-15 19:44:47 -07:00
Chris Jerdonek
39b867000b
Issue #16206 : Merge dict documentation improvements from 3.2.
...
Improve the documentation of the dict constructor. This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
2012-10-13 03:25:18 -07:00
Chris Jerdonek
f341317185
Issue #16206 : Improve the documentation of the dict constructor.
...
This change includes replacing the single-line signature documentation
with a more complete multiple-line signature.
2012-10-13 03:22:33 -07:00
Chris Jerdonek
006d907afc
Undo changes accidentally reverted in de8787029fe4.
2012-10-12 20:28:26 -07:00
Benjamin Peterson
b548d49f65
merge heads
2012-10-12 12:05:01 -04:00
Benjamin Peterson
143d034ecd
merge 3.2
2012-10-12 12:04:32 -04:00
Ezio Melotti
1dd7c30419
Merge __next__ method link fixes with 3.2.
2012-10-12 13:45:38 +03:00
Ezio Melotti
7fa822275b
Fix links to the __next__ method.
2012-10-12 13:42:08 +03:00
Ezio Melotti
eb818193b3
Merge doctest fixes in functional howto with 3.2.
2012-10-12 13:25:54 +03:00
Ezio Melotti
35cbf16202
Make doctests pass in the functional howto.
2012-10-12 13:24:19 +03:00
Ezio Melotti
dd67c1d91a
Merge functional howto improvements with 3.2.
2012-10-12 13:23:32 +03:00
Ezio Melotti
45a101db1d
Improve markup in functional.rst, and fix a couple of errors.
2012-10-12 12:42:51 +03:00
Ezio Melotti
a6229e6ebd
Fix and add more links.
2012-10-12 10:59:14 +03:00
Chris Jerdonek
c33899bd71
Add and adjust some string-related links in the docs.
2012-10-11 18:57:48 -07:00
Chris Jerdonek
8958cd0e8d
Merge from 3.2: Fix link to str.format() in docs.
2012-10-11 18:49:02 -07:00
Chris Jerdonek
af94724e00
Fix link to str.format() in docs.
2012-10-11 18:47:54 -07:00
Chris Jerdonek
caf380ac2a
Issue #16199 : Merge 2to3 typo fix from 3.2.
2012-10-11 16:01:00 -07:00
Chris Jerdonek
463974916d
Issue #16199 : Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report.
2012-10-11 15:59:32 -07:00
Chris Jerdonek
c3de6d63cd
Merge from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.
2012-10-10 22:53:35 -07:00
Chris Jerdonek
cc32a68216
Fix placement of shell=True warning in subprocess.Popen() docs.
2012-10-10 22:52:22 -07:00
Chris Jerdonek
02860526eb
Issue #16115 : Merge subprocess.Popen() documentation improvements from 3.2.
2012-10-10 17:47:55 -07:00
Chris Jerdonek
4a4a02bbc8
Issue #16115 : Make further improvements to subprocess.Popen() documentation.
2012-10-10 17:46:18 -07:00
Chris Jerdonek
3fa8c59024
Issue #12947 : Remove doctest directives from the doctest examples in the "Option Flag" section.
...
The doctest examples that illustrate the use of doctest option flags
independent of doctest directives should not display doctest directives.
2012-10-10 08:34:38 -07:00
Georg Brandl
23a87de96f
Missed one instance of code-block:: text highlighting to revert.
2012-10-10 16:56:15 +02:00
Georg Brandl
a1ff83e556
merge 3.2 heads
2012-10-10 16:49:02 +02:00
Georg Brandl
83e51f48a8
Issue #12947 : revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
2012-10-10 16:45:11 +02:00
Georg Brandl
3a2e101be5
Issue #12947 : revert earlier workaround and use a monkey-patch to enable showing doctest directives only in the doctest docs.
2012-10-10 16:45:11 +02:00
Chris Jerdonek
3650ea2a9f
Issue #12947 : Divide doctest "Option Flags and Directives" section into two.
...
This changeset also applies the rendering workaround to the last remaining
example in the file that has a doctest directive that should be displayed.
2012-10-10 06:52:08 -07:00
Eli Bendersky
831893a68e
Issue #16082 : clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding.
2012-10-09 07:18:16 -07:00
Eli Bendersky
323a43af06
Issue #12322 : clarify xpath reference for cases where the path reaches ancestors of the start element. Also add missing markup for a None. Thanks to patrick vrijlandt and Mike Hoy for the report and initial patches.
2012-10-09 06:46:33 -07:00
Andrew Svetlov
38714d64d0
Merge issue #16174 : Fix suggested usage of dummy_threading module.
...
Patch by Berker Peksag.
2012-10-09 13:44:48 +03:00
Andrew Svetlov
a256841b4b
Issue #16174 : Fix suggested usage of dummy_threading module.
...
Patch by Berker Peksag.
2012-10-09 13:44:16 +03:00
Senthil Kumaran
570bc4c465
Fix Issue 15922: make howto/urllib2.rst doctests pass.
...
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:38:17 -07:00
Senthil Kumaran
1ed9847a5a
Fix Issue 15922: make howto/urllib2.rst doctests pass.
...
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:37:09 -07:00
Chris Jerdonek
ad01498fa9
Issue #16115 : Merge subprocess.Popen() documentation improvements from 3.2.
2012-10-08 23:12:21 -07:00
Chris Jerdonek
470ee39883
Issue #16115 : Improve subprocess.Popen() documentation around args, shell, and executable arguments.
2012-10-08 23:06:57 -07:00
Hynek Schlawack
101591e9d5
Merge 3.2
2012-10-08 07:44:54 +02:00
Chris Jerdonek
042fa653ab
Issue #14783 : Merge changes from 3.2.
2012-10-07 14:56:27 -07:00
Chris Jerdonek
83fe2e1c22
Issue #14783 : Improve int() docstring and also str(), range(), and slice().
...
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036 . It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
2012-10-07 14:48:36 -07:00
Hynek Schlawack
0230b6af78
#13498 : Clarify docs of os.makedirs()'s exist_ok argument.
...
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
Eli Bendersky
948af23a77
Issue #15888 : fixing problems in ipaddress doctests. Patch by Chris Jerdonek
2012-10-07 07:23:50 -07:00
R David Murray
f4c2757d78
More whatsnew updates, move some doc NEWS items into the doc section.
2012-10-06 23:19:17 -04:00
R David Murray
ace5162294
starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup.
2012-10-06 22:26:52 -04:00
R David Murray
fd740967ba
More whatsnew updates. Also move a C-API NEWS item out of library section.
2012-10-06 22:08:08 -04:00
R David Murray
ca76ea16ad
#9957 : document that SpooledTemporaryFile.truncate now accepts a size arg
2012-10-06 18:32:39 -04:00
R David Murray
138a314d1a
#9957 : document that SpooledTemporaryFile.truncate does not take size arg
2012-10-06 18:26:56 -04:00
R David Murray
1e218c98df
More whatsnew updates.
2012-10-06 18:18:55 -04:00
Georg Brandl
2fdc0f8a86
Fix markup in Counter note.
2012-10-06 22:38:20 +02:00
R David Murray
a21e51570d
whatsnew updates for smtplib and collections.Counter.
2012-10-06 16:29:14 -04:00
R David Murray
344174dc77
Fix typos.
2012-10-06 16:06:16 -04:00
R David Murray
ef4d286770
#10968 : commit threading doc changes and corresponding whatsnew entry.
...
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:35:35 -04:00
Andrew Svetlov
5061a34283
Issue #16025 : Minor corrections to the zipfile documentation.
...
Patch by Serhiy Storchaka.
2012-10-06 18:10:01 +03:00
Andrew Svetlov
afbf90c993
Issue #16025 : Minor corrections to the zipfile documentation.
...
Patch by Serhiy Storchaka.
2012-10-06 18:02:05 +03:00
Georg Brandl
fe7b00fb0a
Closes #11710 : create "landing pages" (/library/package.html) for those packages that have no documented content themselves, e.g. "urllib" or "http".
2012-10-06 13:49:34 +02:00
Georg Brandl
4614cc4f7f
Closes #16149 : remove now-false statement about the inability to compare Decimal and float objects.
2012-10-06 13:48:39 +02:00
Georg Brandl
7ea9a423cb
Closes #16149 : remove now-false statement about the inability to compare Decimal and float objects.
2012-10-06 13:48:39 +02:00
Ezio Melotti
b28e75d9d6
Merge ftplib doc fix with 3.2.
2012-10-05 14:10:39 +03:00
Ezio Melotti
cbd449b416
The file obj passed to ftp.storbinary/storlines must be opened in binary mode.
2012-10-05 14:09:59 +03:00
Andrew Svetlov
fd03a099d8
Merge issue #16138 : fix typo.
2012-10-05 13:26:42 +03:00
Andrew Svetlov
8cf1cc498f
Issue #16138 : fix typo.
2012-10-05 13:26:10 +03:00
Ezio Melotti
e7f90375b1
#16127 : remove outdated references to narrow builds. Patch by Serhiy Storchaka.
2012-10-05 03:33:31 +03:00
Andrew Svetlov
3934b61a16
Fix typo in documentation for time module, thanks to docs@
2012-10-04 19:52:32 +03:00
Andrew Svetlov
1a8db9cd1d
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
2012-10-04 19:29:25 +03:00
Jesus Cea
b6bb3ad567
Whatsnew typo
2012-10-04 02:58:48 +02:00
Jesus Cea
aa26488711
whatsnew
2012-10-04 02:51:22 +02:00
Nick Coghlan
0b26ccfaa6
Issue #12947 : Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives
2012-10-03 13:52:48 +05:30
Nick Coghlan
8f80e0a651
Issue #12947 : Add a note to doctest until the example rendering is fixed
2012-10-03 12:21:44 +05:30
R David Murray
3430fb803e
More whatsnew updates.
2012-10-02 18:24:56 -04:00
Andrew Svetlov
ddd74b10e5
Merge: Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:42:22 +03:00
Andrew Svetlov
f532035551
Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:39:25 +03:00
R David Murray
994ce1a3c1
Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal.
2012-10-02 10:19:08 -04:00
Georg Brandl
dc704c6751
In this case it is not useful to hide "threading".
2012-10-02 10:16:19 +02:00
Ezio Melotti
4443762bf5
#15979 : merge with 3.2.
2012-10-02 06:01:16 +03:00
Ezio Melotti
d0fe3e5abb
#15979 : improve timeit documentation.
2012-10-02 05:35:39 +03:00
R David Murray
0bbfd6b817
Add threading.get_ident to whatsnew.
2012-10-01 22:10:15 -04:00
R David Murray
258fabefde
#11109 : clean up docs, add whatsnew entry, and fix Justin's last name.
2012-10-01 21:43:46 -04:00
Ezio Melotti
7eb03ddf11
Fix/improve the changelog filtering.
2012-10-02 01:43:42 +03:00
Georg Brandl
4524b46733
Fix template syntax.
2012-10-01 19:38:34 +02:00
Georg Brandl
6c4758152f
The default reST role `foo` can now be used in NEWS to refer to Python objects. Use it for a fraction of the current NEWS file.
2012-10-01 19:27:05 +02:00
Georg Brandl
243729151e
Fix page name.
2012-10-01 19:26:09 +02:00
Georg Brandl
44d0c2156a
Several improvements to the HTML NEWS version:
...
* rename to "Changelog"
* recognize more issue links
* add NEWS as a dependency for Sphinx
2012-10-01 19:08:50 +02:00
Brian Curtin
f41d202555
Correcting my name since people keep bringing it up
2012-10-01 09:29:36 -05:00
Ezio Melotti
00160661a5
Update suspicious ignore file.
2012-10-01 07:10:08 +03:00
R David Murray
445d69c2bd
More additions to whatsnew.
2012-09-30 21:59:56 -04:00
R David Murray
842ca5f15d
Merge: Fix sqlite3 class markup.
2012-09-30 20:49:19 -04:00
R David Murray
6db2335f77
Fix sqlite3 class markup.
2012-09-30 20:44:43 -04:00
R David Murray
c652ce6d02
More whatsnew adds, especially the os module.
...
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:07:42 -04:00
R David Murray
d2489cf4d0
Add some missing stuff to whatsnew.
2012-09-30 17:28:54 -04:00
Gregory P. Smith
89bbe68195
doc typo fixes
2012-09-30 10:36:07 -07:00