summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-19 18:43:50 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-19 18:43:50 (GMT)
commitc553f4290766e0a9b713af7c120b9c2a0af1df64 (patch)
tree4b71eda644d7a7f3c783f3b24bbc8fca285f0afc
parentf839e494fc9f1dd607d07851cf03d0e964f990d3 (diff)
downloadcpython-c553f4290766e0a9b713af7c120b9c2a0af1df64.zip
cpython-c553f4290766e0a9b713af7c120b9c2a0af1df64.tar.gz
cpython-c553f4290766e0a9b713af7c120b9c2a0af1df64.tar.bz2
Fix stray backticks.
-rw-r--r--Doc/library/fm.rst3
-rw-r--r--Doc/library/formatter.rst4
2 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/fm.rst b/Doc/library/fm.rst
index b6b4c4b..0ab2781 100644
--- a/Doc/library/fm.rst
+++ b/Doc/library/fm.rst
@@ -86,8 +86,7 @@ Font handle objects support the following operations:
Returns a tuple giving some pertinent data about this font. This is an interface
to ``fmgetfontinfo()``. The returned tuple contains the following numbers:
- ``(``*printermatched*, *fixed_width*, *xorig*, *yorig*, *xsize*, *ysize*,
- *height*, *nglyphs*``)``.
+ ``(printermatched, fixed_width, xorig, yorig, xsize, ysize, height, nglyphs)``.
.. method:: font handle.getstrwidth(string)
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.