summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-05 10:30:57 (GMT)
committerGeorg Brandl <georg@python.org>2009-02-05 10:30:57 (GMT)
commit174fbe7742e55a040682bed80c872119d0b0da53 (patch)
tree51a90d657e3893e42cc43ca5fd22821f0341e6ec /Doc
parent97a69f0c102fec17cd928d2a3d2a97d831aaa9ce (diff)
downloadcpython-174fbe7742e55a040682bed80c872119d0b0da53.zip
cpython-174fbe7742e55a040682bed80c872119d0b0da53.tar.gz
cpython-174fbe7742e55a040682bed80c872119d0b0da53.tar.bz2
#5153: fix typo in example.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/optparse.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 6af4074..604ac7f 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -1651,7 +1651,7 @@ arguments::
value.append(arg)
del parser.rargs[:len(value)]
- setattr(parser.values, option.dest, value))
+ setattr(parser.values, option.dest, value)
[...]
parser.add_option("-c", "--callback", dest="vararg_attr",