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
2622b549d7
#5840 : dont claim we dont support TLS.
2009-04-27 17:09:53 +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
d91f8cf779
Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
2009-04-27 15:10:44 +00:00
Georg Brandl
e1b79ce17e
#5856 : fix typo s in traceback example.
2009-04-27 15:09:25 +00:00
Eric Smith
f254aab098
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
2009-04-26 10:05:11 +00:00
Georg Brandl
438192540d
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
2009-04-26 09:56:44 +00:00
Georg Brandl
0d478c455b
Another file where the versions need to be up to date.
2009-04-26 06:06:53 +00:00
Georg Brandl
aa9eb9e163
Remove outdated TODO file.
2009-04-26 06:06:19 +00:00
Georg Brandl
576574f5dd
Note that the versions are also in README.txt.
2009-04-26 06:05:58 +00:00
Georg Brandl
dbc5b4b66f
Update versions in instructions for manual set-up.
2009-04-26 06:05:18 +00:00
Georg Brandl
afb0d6ef39
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
2009-04-26 06:01:04 +00:00
Eric Smith
068f06568b
Issue #5835 , deprecate PyOS_ascii_formatd.
...
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.
Will port to py3k with a different strategy.
2009-04-25 21:40:15 +00:00
Jeroen Ruigrok van der Werven
dfcffd4044
Issue #4129 : document int -> Py_ssize_t changes.
2009-04-25 21:16:05 +00:00
Jeroen Ruigrok van der Werven
436f1a2e0d
Issue #4129 : field changed from int to Py_ssize_t.
2009-04-25 21:02:34 +00:00
Jeroen Ruigrok van der Werven
acc73b74b8
Issue #4129 : more int -> Py_ssize_t documentation.
2009-04-25 20:58:35 +00:00
Jeroen Ruigrok van der Werven
7b3750c8d8
Issue #4129 : more int -> Py_ssize_t documentation.
2009-04-25 20:55:39 +00:00
Jeroen Ruigrok van der Werven
36378711b7
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:50:27 +00:00
Jeroen Ruigrok van der Werven
9594c2c5aa
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:44:58 +00:00
Jeroen Ruigrok van der Werven
27d51f1a51
Reformat prior to editing.
2009-04-25 20:43:30 +00:00
Jeroen Ruigrok van der Werven
be82d2f16f
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:41:40 +00:00
Jeroen Ruigrok van der Werven
a4c03abb9e
Reformat prior to editing.
2009-04-25 20:40:10 +00:00
Jeroen Ruigrok van der Werven
9e03cee97c
Since it's a macro, actually refer to it as such instead of function.
2009-04-25 20:37:39 +00:00
Jeroen Ruigrok van der Werven
af15b41547
Issue #4129 : Add a versionchanged notice for a few forgotten entries.
2009-04-25 19:54:34 +00:00
Jeroen Ruigrok van der Werven
de0fed10c8
Reformat, since I've been busy here anyway.
2009-04-25 19:49:05 +00:00
Jeroen Ruigrok van der Werven
2aa7840f54
Issue #4129 : Documentation notes for int -> Py_ssize_t changes.
2009-04-25 19:46:19 +00:00
Jeroen Ruigrok van der Werven
691f5f17ee
Issue #4129 : More documentation pointers about int -> Py_ssize_t.
...
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().
2009-04-25 19:44:55 +00:00
Jeroen Ruigrok van der Werven
3537124058
Reformat prior to editing.
2009-04-25 19:10:52 +00:00
Jeroen Ruigrok van der Werven
1ae8c88030
Since I edited this file, reformat for future edits.
2009-04-25 19:04:15 +00:00
Jeroen Ruigrok van der Werven
c2aa7b8a0a
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
2009-04-25 18:57:32 +00:00
Jeroen Ruigrok van der Werven
28c81e0bb5
Reformat prior to editing.
2009-04-25 18:53:48 +00:00
Jeroen Ruigrok van der Werven
2391918f3e
Issue #4129 : Document more int -> Py_ssize_t changes.
2009-04-25 18:46:03 +00:00
Jeroen Ruigrok van der Werven
84441cc3d5
Reformat prior to editing.
2009-04-25 18:31:20 +00:00
Jeroen Ruigrok van der Werven
089c5cdd09
Issue #4129 : Belatedly document which C API functions had their argument(s) or
...
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.
2009-04-25 17:59:03 +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
b581804d69
#3320 : fix spelling.
2009-04-25 14:50:25 +00:00
Jeroen Ruigrok van der Werven
6f1d543133
Reformat paragraph.
2009-04-25 14:28:02 +00:00
Jeroen Ruigrok van der Werven
325a997efb
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
...
documentation.
2009-04-25 14:27:00 +00:00
Jeroen Ruigrok van der Werven
c42c099436
Reformat prior to editing.
2009-04-25 14:24:30 +00:00
Jeroen Ruigrok van der Werven
140d9d673e
Reformat file prior to editing.
2009-04-25 13:58:58 +00:00
Jeroen Ruigrok van der Werven
2dcf46ee2c
Rewrite a sentence to be more in line with the rest of the documentation with
...
regard to person and audience.
2009-04-25 13:07:40 +00:00
Jeroen Ruigrok van der Werven
a2dce5a9ee
Issue #4239 : adjust email examples not to use connect() and terminate with
...
quit() and not close().
2009-04-25 12:49:10 +00:00