diff options
author | mattip <matti.picus@gmail.com> | 2019-01-07 20:52:45 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-01-07 20:52:45 +0200 |
commit | e936829f16e8d1d7f27cfd8a0a141ca2d2656027 (patch) | |
tree | 2c6eff391a876672d3275b53a147fcf6816c3277 | |
parent | d136c751fd2226a849654e5be65a914f7b5f9831 (diff) | |
download | cython-e936829f16e8d1d7f27cfd8a0a141ca2d2656027.tar.gz |
MAINT: remove dead useless code
-rw-r--r-- | Cython/Compiler/Nodes.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 6828f2ac8..e94df6d1d 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -5042,13 +5042,6 @@ class PropertyNode(StatNode): self.entry = env.declare_property(self.name, self.doc, self.pos) self.entry.scope.directives = env.directives self.body.analyse_declarations(self.entry.scope) - # XXX DO SOMETHING HERE??? - if 0 and self.is_wrapper: - entry = self.body.stats[0].entry - entry.is_property = 1 - entry.doc = self.doc - env.property_entries[-1] = entry - env.entries[self.name] = entry def analyse_expressions(self, env): self.body = self.body.analyse_expressions(env) |