[Python-checkins] python/dist/src/Doc/lib caseless.py,1.1,1.2
doerwalter at users.sourceforge.net
doerwalter at users.sourceforge.net
Thu Feb 12 12:35:37 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21620/Doc/lib
Modified Files:
caseless.py
Log Message:
Replace backticks with repr() or "%r"
>From SF patch #852334.
Index: caseless.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/caseless.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** caseless.py 6 Jan 2003 16:51:33 -0000 1.1
--- caseless.py 12 Feb 2004 17:35:05 -0000 1.2
***************
*** 48,55 ****
parser.add_option("-f", "--file", dest="file")
! #print `parser.get_option("-f")`
! #print `parser.get_option("-F")`
! #print `parser.get_option("--file")`
! #print `parser.get_option("--fIlE")`
(options, args) = parser.parse_args(["--FiLe", "foo"])
assert options.file == "foo", options.file
--- 48,55 ----
parser.add_option("-f", "--file", dest="file")
! #print repr(parser.get_option("-f"))
! #print repr(parser.get_option("-F"))
! #print repr(parser.get_option("--file"))
! #print repr(parser.get_option("--fIlE"))
(options, args) = parser.parse_args(["--FiLe", "foo"])
assert options.file == "foo", options.file
More information about the Python-checkins
mailing list