diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-09-11 15:47:30 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-09-11 15:47:30 (GMT) |
commit | c9c37ca62e1aa6bda1fca5882048645bb6b11fba (patch) | |
tree | 44e496222e1ed779d3b14068dd3113674892790f /Doc/lib/liboptparse.tex | |
parent | f08437ca08b25da10665cd1caa1d8e8d0e9bd62e (diff) | |
download | cpython-c9c37ca62e1aa6bda1fca5882048645bb6b11fba.zip cpython-c9c37ca62e1aa6bda1fca5882048645bb6b11fba.tar.gz cpython-c9c37ca62e1aa6bda1fca5882048645bb6b11fba.tar.bz2 |
Patch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman!
Diffstat (limited to 'Doc/lib/liboptparse.tex')
-rw-r--r-- | Doc/lib/liboptparse.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liboptparse.tex b/Doc/lib/liboptparse.tex index e565466..c99d235 100644 --- a/Doc/lib/liboptparse.tex +++ b/Doc/lib/liboptparse.tex @@ -596,7 +596,7 @@ Here's what \module{optparse}-based scripts typically look like: from optparse import OptionParser [...] def main(): - usage = "usage: \%prog [-f] [-v] [-q] firstarg secondarg" + usage = "usage: %prog [-f] [-v] [-q] firstarg secondarg" parser = OptionParser(usage) parser.add_option("-f", "--file", type="string", dest="filename", help="read data from FILENAME") @@ -610,7 +610,7 @@ def main(): parser.error("incorrect number of arguments") if options.verbose: - print "reading \%s..." \% options.filename + print "reading %s..." % options.filename [... go to work ...] if __name__ == "__main__": |