summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ParseTreeTransforms.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-11-15 16:34:39 +0100
committerStefan Behnel <stefan_ml@behnel.de>2014-11-15 16:34:39 +0100
commitd7453bd0d775e1e210ea58af53a1d21007544f49 (patch)
treea9c524540edc8a81a478510cfbec26ff3f18ca2c /Cython/Compiler/ParseTreeTransforms.py
parent1512658cd0ae680388b4f16bb67847c9db9708ee (diff)
downloadcython-d7453bd0d775e1e210ea58af53a1d21007544f49.tar.gz
remove unclear comment and add docstring to explain why
--HG-- extra : transplant_source : %C4Y%8Fo%10QD%23%A6%FB%B6%AF%3B%D6%C9%A9%09%C4%0D%A8
Diffstat (limited to 'Cython/Compiler/ParseTreeTransforms.py')
-rw-r--r--Cython/Compiler/ParseTreeTransforms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py
index d3bee361b..96ef0c31f 100644
--- a/Cython/Compiler/ParseTreeTransforms.py
+++ b/Cython/Compiler/ParseTreeTransforms.py
@@ -2530,6 +2530,9 @@ class GilCheck(VisitorTransform):
class TransformBuiltinMethods(EnvTransform):
+ """
+ Replace Cython's own cython.* builtins by the corresponding tree nodes.
+ """
def visit_SingleAssignmentNode(self, node):
if node.declaration_only: