summaryrefslogtreecommitdiff
path: root/Tools/parser/unparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/parser/unparse.py')
-rw-r--r--Tools/parser/unparse.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/parser/unparse.py b/Tools/parser/unparse.py
index 3eb63108c5..7e1cc4ea5d 100644
--- a/Tools/parser/unparse.py
+++ b/Tools/parser/unparse.py
@@ -71,8 +71,6 @@ class Unparser:
########################################################
def _Module(self, tree):
- if tree.docstring is not None:
- self.fill(repr(tree.docstring))
for stmt in tree.body:
self.dispatch(stmt)
@@ -237,8 +235,6 @@ class Unparser:
self.write(")")
self.enter()
- if t.docstring is not None:
- self.fill(repr(t.docstring))
self.dispatch(t.body)
self.leave()
@@ -261,8 +257,6 @@ class Unparser:
self.write(" -> ")
self.dispatch(t.returns)
self.enter()
- if t.docstring is not None:
- self.fill(repr(t.docstring))
self.dispatch(t.body)
self.leave()