R. David Murray
b01c6e53ed
Make the turtle.rst doctests pass. I have a feeling there should be
...
more cleanup, but I don't know now to kill turtles. Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Georg Brandl
f6dab9542c
Make the doctests in the docs pass, except for those in the turtle module.
2009-04-28 21:48:35 +00:00
R. David Murray
3b23c9c516
Remove spurious 'u'.
2009-04-28 19:02:55 +00:00
R. David Murray
636b23a96f
Various small fixups to the multiprocessing docs, mostly fixing and
...
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run. I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug). I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
2009-04-28 16:08:18 +00:00
Raymond Hettinger
8b8f8cc1b0
Add example to the seealso section.
2009-04-27 21:12:54 +00:00
R. David Murray
ec047e0725
Make sys.xxx variable references into links, note that print_last only
...
works when an exception gets to the interactive prompt, and update the
examples after testing. The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
2009-04-27 17:22:36 +00:00
Georg Brandl
9bc668251f
#5848 : small unittest doc patch.
2009-04-27 17:04:23 +00:00
Georg Brandl
b44c9f357d
Demote warnings to notices, part 2: stuff that is 2.x-only.
2009-04-27 15:29:26 +00:00
Georg Brandl
16a57f6a34
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
...
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl
e1b79ce17e
#5856 : fix typo s in traceback example.
2009-04-27 15:09:25 +00:00
Georg Brandl
208b00d03f
#5841 : add deprecation py3k warning and notice in the docs for commands module.
2009-04-25 15:11:29 +00:00
Georg Brandl
cf5608df81
#5821 : add some capabilities of TarFile's file-like object.
2009-04-25 15:05:04 +00:00
Georg Brandl
64034bbf84
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
2009-04-25 14:51:31 +00:00
Georg Brandl
69923a1df6
#5813 : add a reference to the "future statements" section.
2009-04-23 08:49:56 +00:00
Georg Brandl
95089bc9bf
Fix rewrapping accident.
2009-04-23 08:49:39 +00:00
Georg Brandl
49cc4eafcb
#5820 : fix bug in usage of getreader().
2009-04-23 08:44:57 +00:00
Mark Dickinson
8100bd8431
Issue #5812 : make Fraction('1e-6') valid. Backport of r71806.
2009-04-22 18:15:25 +00:00
Nick Coghlan
5533ff6a2e
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
2009-04-22 15:26:04 +00:00
Eric Smith
4c074382bd
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
2009-04-22 00:47:00 +00:00
Georg Brandl
e56101136c
#5751 : fix escaping of \\n.
2009-04-21 18:24:34 +00:00
Georg Brandl
ce54356690
#5757 : fix copy-paste error in notify().
2009-04-21 18:23:08 +00:00
Raymond Hettinger
cccfc825e4
Fix typo
2009-04-20 18:23:57 +00:00
Raymond Hettinger
76162e305c
Clarify the behavior of any() and all() with an empty iterable.
2009-04-16 18:16:10 +00:00
R. David Murray
7203081025
Less red ink (warning->note) and add link to def of side-by-side assembly.
2009-04-16 18:12:53 +00:00
R. David Murray
6076d399b4
Fix for issue3440: add warning to subprocess discussion of
...
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Benjamin Peterson
5c9914899b
tupel -> tuple
2009-04-14 21:23:09 +00:00
Georg Brandl
b48327a215
#5745 : more linking for identifiers in email docs.
2009-04-13 13:13:25 +00:00
Hirokazu Yamamoto
4585746fb0
Fixed another typos. (email.Utils => email.utils)
2009-04-13 01:21:56 +00:00
Hirokazu Yamamoto
3bd4058d82
Fixed typo. (email.Utils => email.utils)
2009-04-13 01:07:06 +00:00
Benjamin Peterson
a9feadc0dd
fix missing quote
2009-04-12 23:44:15 +00:00
Benjamin Peterson
7bedd625df
fix extra parenthesis #5774
2009-04-12 23:19:56 +00:00
Nick Coghlan
cd2e7042ae
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
2009-04-11 13:31:31 +00:00
Raymond Hettinger
f0f475da61
Add examples.
2009-04-10 13:16:50 +00:00
Raymond Hettinger
c4f4697196
Fix the count of datatypes.
2009-04-10 06:38:39 +00:00
Raymond Hettinger
f368fbc24e
Clarify the table entries for combinatorics.
2009-04-10 04:25:45 +00:00
Raymond Hettinger
c473c5aa9b
Add note on using keyword arguments with OrderedDict.
2009-04-09 22:31:51 +00:00
Andrew M. Kuchling
5963185b23
Typo fixes
2009-04-09 11:23:36 +00:00
Michael Foord
f2dfef1637
Adding assertIs and assertIsNot methods to unittest.TestCase
...
Issue #2578
2009-04-05 19:19:28 +00:00
Georg Brandl
a7ec0726e2
#5370 : doc update about unpickling objects with custom __getattr__ etc. methods.
2009-04-05 14:40:06 +00:00
Georg Brandl
5d19610f8d
#1718017 : document the relation of os.path and the posixpath, ntpath etc. modules better.
2009-04-05 10:41:02 +00:00
Georg Brandl
75f1107b7c
Avoid sure signs of a diseased mind.
2009-04-05 10:32:26 +00:00
Georg Brandl
89b1296ab9
Normalize spelling of Mac OS X.
2009-04-05 10:29:57 +00:00
Georg Brandl
9af0c56057
#1742837 : expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions.
2009-04-05 10:24:20 +00:00
Benjamin Peterson
f9c8193b76
note how using iter* are unsafe while mutating and document iter(dict)
2009-04-04 23:46:34 +00:00
Georg Brandl
29b36308a4
#5601 : clarify that webbrowser is not meant for file names.
2009-04-04 13:45:49 +00:00
Georg Brandl
9d977b81a1
#5642 : clarify map() compatibility to the builtin.
2009-04-04 13:42:39 +00:00
R. David Murray
195374e836
Fix error in description of 'oct' (issue 5678).
2009-04-04 06:39:56 +00:00
Raymond Hettinger
64906bbeba
Add helpful link.
2009-04-04 05:37:47 +00:00
Vinay Sajip
353a85f99c
Clarified warning about logging use from asynchronous signal handlers.
2009-04-03 21:58:16 +00:00
Andrew M. Kuchling
a178a69819
Fix 'the the' duplication
2009-04-03 21:45:29 +00:00