We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d533ad2 commit 5757969Copy full SHA for 5757969
1 file changed
bpython/simpleeval.py
@@ -227,9 +227,6 @@ def evaluate_current_expression(
227
# Find the biggest valid ast.
228
# Once our attribute access is found, return its .value subtree
229
230
- if namespace is None:
231
- namespace = {}
232
-
233
# in case attribute is blank, e.g. foo.| -> foo.xxx|
234
temp_line = line[:cursor_offset] + "xxx" + line[cursor_offset:]
235
temp_cursor = cursor_offset + 3
0 commit comments