summaryrefslogtreecommitdiffstats
path: root/Lib/compiler
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-07-29 09:33:26 (GMT)
committerGeorg Brandl <georg@python.org>2006-07-29 09:33:26 (GMT)
commitedd9b0dfb39daa18c1462665c55bc4ad3d0a0e5d (patch)
tree39405800c37f6bbd79c692a0802476fe0bcca346 /Lib/compiler
parent9fd21e31b6683e532949bbf650bb9decee4f42a4 (diff)
downloadcpython-edd9b0dfb39daa18c1462665c55bc4ad3d0a0e5d.zip
cpython-edd9b0dfb39daa18c1462665c55bc4ad3d0a0e5d.tar.gz
cpython-edd9b0dfb39daa18c1462665c55bc4ad3d0a0e5d.tar.bz2
Bug #1441397: The compiler module now recognizes module and function
docstrings correctly as it did in Python 2.4.
Diffstat (limited to 'Lib/compiler')
-rw-r--r--Lib/compiler/transformer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py
index 53d30f0..a16dc55 100644
--- a/Lib/compiler/transformer.py
+++ b/Lib/compiler/transformer.py
@@ -1382,6 +1382,7 @@ _doc_nodes = [
symbol.testlist,
symbol.testlist_safe,
symbol.test,
+ symbol.or_test,
symbol.and_test,
symbol.not_test,
symbol.comparison,