Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 380d63c

Browse files
author
Juanjo Alvarez
committed
Removed unneeded NoneType visit method
1 parent cfa8cc9 commit 380d63c

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

native/python_package/python_driver/astimprove.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,6 @@ def visit_Bytes(self, node):
473473
node.update({"s": s, "encoding": encoding})
474474
return node
475475

476-
def visit_NoneType(self, node):
477-
node.update({"LiteralValue": "None",
478-
"ast_type": "NoneLiteral"})
479-
return node
480-
481476
def _promote_names(self, node):
482477
# Python AST by default stores global and nonlocal variable names
483478
# in a "names" array of strings. That breaks the structure of everything

0 commit comments

Comments
 (0)