summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/transformer.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-12-21 20:04:22 (GMT)
committerBarry Warsaw <barry@python.org>2001-12-21 20:04:22 (GMT)
commit52acb49298fd0aee8a2a2a352f0b2ab039649bde (patch)
tree8494a3378452f85b4b71a0e02bc6c63cc21f8bec /Lib/compiler/transformer.py
parent87fa3aa12cbb24c89cfb13c16d04f46a2dd9a9e1 (diff)
downloadcpython-52acb49298fd0aee8a2a2a352f0b2ab039649bde.zip
cpython-52acb49298fd0aee8a2a2a352f0b2ab039649bde.tar.gz
cpython-52acb49298fd0aee8a2a2a352f0b2ab039649bde.tar.bz2
Merge of the release22 branch changes back into the trunk.
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r--Lib/compiler/transformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py
index 9875561..cd36aae 100644
--- a/Lib/compiler/transformer.py
+++ b/Lib/compiler/transformer.py
@@ -172,7 +172,7 @@ class Transformer:
def eval_input(self, nodelist):
# from the built-in function input()
### is this sufficient?
- return self.com_node(nodelist[0])
+ return Expression(self.com_node(nodelist[0]))
def funcdef(self, nodelist):
# funcdef: 'def' NAME parameters ':' suite