diff options
author | Guido van Rossum <guido@python.org> | 2007-08-20 19:06:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-20 19:06:03 (GMT) |
commit | 61e21b52f1873bc4b0da34431e54a9517c0030e1 (patch) | |
tree | e569dc3bbc88512e345691a151c2d64a8e7dc910 /Doc | |
parent | 7d6068e6c9c3f8a2ee17b9b57e4f3f40b149c6eb (diff) | |
download | cpython-61e21b52f1873bc4b0da34431e54a9517c0030e1.zip cpython-61e21b52f1873bc4b0da34431e54a9517c0030e1.tar.gz cpython-61e21b52f1873bc4b0da34431e54a9517c0030e1.tar.bz2 |
Merged revisions 57152-57220 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r57155 | brett.cannon | 2007-08-17 11:51:57 -0700 (Fri, 17 Aug 2007) | 2 lines
Clarify the comment about setting the PYTHON variable for the Doc Makefile.
........
r57156 | brett.cannon | 2007-08-17 11:59:58 -0700 (Fri, 17 Aug 2007) | 3 lines
Remove news entry for test.test_support.guard_warnings_filter as it has been
removed.
........
r57158 | facundo.batista | 2007-08-17 12:16:44 -0700 (Fri, 17 Aug 2007) | 9 lines
Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class
that allows sending back exception/stack trace information about
internal server errors (this flag defaults to False to avoid sending
such information unless explicitly enabled). Added tests to verify
behavior of this new feature (these tests are skipped on win32 because
of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to
SimpleServerTestCase. [GSoC - Alan McIntyre]
........
r57160 | brett.cannon | 2007-08-17 13:16:15 -0700 (Fri, 17 Aug 2007) | 2 lines
Make test_warnings re-entrant.
........
r57175 | georg.brandl | 2007-08-17 23:05:56 -0700 (Fri, 17 Aug 2007) | 2 lines
Fix PDB command descriptions.
........
r57182 | brett.cannon | 2007-08-18 11:30:36 -0700 (Sat, 18 Aug 2007) | 3 lines
Remove Mikael as the maintainer of BeOS at his request. With no maintainer
should the port be deprecated in 2.6?
........
r57199 | georg.brandl | 2007-08-19 11:43:50 -0700 (Sun, 19 Aug 2007) | 2 lines
Fix stray backticks.
........
r57211 | hyeshik.chang | 2007-08-19 23:49:18 -0700 (Sun, 19 Aug 2007) | 2 lines
Add cheot-ga-keut composed make-up sequence support in EUC-KR codec.
........
r57216 | guido.van.rossum | 2007-08-20 08:18:04 -0700 (Mon, 20 Aug 2007) | 4 lines
Add a hack (originally devised in a slightly different form by Thomas Wouters)
to prevent spurious tracebacks when a daemon thread's cleanup happens to wake
up when the world around it has already been destroyed.
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/formatter.rst | 4 | ||||
-rw-r--r-- | Doc/library/pdb.rst | 8 | ||||
-rw-r--r-- | Doc/tools/sphinx-build.py | 5 |
3 files changed, 9 insertions, 8 deletions
diff --git a/Doc/library/formatter.rst b/Doc/library/formatter.rst index 2774a2b..ba09b8e 100644 --- a/Doc/library/formatter.rst +++ b/Doc/library/formatter.rst @@ -242,8 +242,8 @@ typically be provided by the application. .. method:: writer.new_font(font) Set the font style. The value of *font* will be ``None``, indicating that the - device's default font should be used, or a tuple of the form ``(``*size*, - *italic*, *bold*, *teletype*``)``. Size will be a string indicating the size of + device's default font should be used, or a tuple of the form ``(size, + italic, bold, teletype)``. Size will be a string indicating the size of font that should be used; specific strings and their interpretation must be defined by the application. The *italic*, *bold*, and *teletype* values are Boolean values specifying which of those font attributes should be used. diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 804dd23..d84c549 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -178,7 +178,7 @@ d(own) u(p) Move the current frame one level up in the stack trace (to an older frame). -b(reak) [[*filename*:]*lineno*``|``*function*[, *condition*]] +b(reak) [[*filename*:]\ *lineno* | *function*\ [, *condition*]] With a *lineno* argument, set a break there in the current file. With a *function* argument, set a break at the first executable statement within that function. The line number may be prefixed with a filename and a colon, to @@ -193,7 +193,7 @@ b(reak) [[*filename*:]*lineno*``|``*function*[, *condition*]] times that breakpoint has been hit, the current ignore count, and the associated condition if any. -tbreak [[*filename*:]*lineno*``|``*function*[, *condition*]] +tbreak [[*filename*:]\ *lineno* | *function*\ [, *condition*]] Temporary breakpoint, which is removed automatically when it is first hit. The arguments are the same as break. @@ -279,7 +279,7 @@ j(ump) *lineno* possible to jump into the middle of a :keyword:`for` loop or out of a :keyword:`finally` clause. -l(ist) [*first*[, *last*]] +l(ist) [*first*\ [, *last*]] List source code for the current file. Without arguments, list 11 lines around the current line or continue the previous listing. With one argument, list 11 lines around at that line. With two arguments, list the given range; if the @@ -324,7 +324,7 @@ alias [*name* [command]] unalias *name* Deletes the specified alias. -[!]*statement* +[!]\ *statement* Execute the (one-line) *statement* in the context of the current stack frame. The exclamation point can be omitted unless the first word of the statement resembles a debugger command. To set a global variable, you can prefix the diff --git a/Doc/tools/sphinx-build.py b/Doc/tools/sphinx-build.py index 8c9331e..e19b10a 100644 --- a/Doc/tools/sphinx-build.py +++ b/Doc/tools/sphinx-build.py @@ -13,9 +13,10 @@ if __name__ == '__main__': if sys.version_info[:3] < (2, 5, 0): print >>sys.stderr, """\ -Error: Sphinx needs to be executed with Python 2.5 or newer. +Error: Sphinx needs to be executed with Python 2.5 or newer (If you run this from the Makefile, you can set the PYTHON variable -to the path of an alternative interpreter executable.) +to the path of an alternative interpreter executable, e.g., +``make html PYTHON=python2.5``). """ sys.exit(1) |