summaryrefslogtreecommitdiff
path: root/Lib/compiler
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-07-29 09:33:26 +0000
committerGeorg Brandl <georg@python.org>2006-07-29 09:33:26 +0000
commitb1d1ab302f740bd2c41ac483233e78ee26773855 (patch)
tree2ee891f0b95d64bb98d33dfe02578d7a5045cdf2 /Lib/compiler
parentf8c14d657190fd0415d0c663e5ca7484ac876eba (diff)
downloadcpython-b1d1ab302f740bd2c41ac483233e78ee26773855.tar.gz
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 53d30f04af..a16dc553c4 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,