summaryrefslogtreecommitdiffstats
path: root/Doc/library/bdb.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-20 11:22:21 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-20 11:22:21 (GMT)
commit78b11870a4c441e42cf60dca3a6d22f5896311ba (patch)
tree20d454f372a32cc7b7baf47d8600f14dec0338bc /Doc/library/bdb.rst
parentc31b0f78e5e0d3eaf872a6187fc76f8d63fa5944 (diff)
downloadcpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.zip
cpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.tar.gz
cpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.tar.bz2
Fix now-wrong :keyword: markup. Remove the section about
"exec without namespace" from the "don't" howto since exec() can't overwrite names in the calling namespace anymore.
Diffstat (limited to 'Doc/library/bdb.rst')
-rw-r--r--Doc/library/bdb.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index 36f8300..84ea0ae 100644
--- a/Doc/library/bdb.rst
+++ b/Doc/library/bdb.rst
@@ -294,7 +294,7 @@ The following two methods can be called by clients to use a debugger to debug a
.. method:: Bdb.run(cmd, [globals, [locals]])
- Debug a statement executed via the :keyword:`exec` statement. *globals*
+ Debug a statement executed via the :func:`exec` function. *globals*
defaults to :attr:`__main__.__dict__`, *locals* defaults to *globals*.
.. method:: Bdb.runeval(expr, [globals, [locals]])