mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
is_py3k() -> is_py3k
This commit is contained in:
@@ -1049,7 +1049,7 @@ class PyFuzzyParser(object):
|
||||
self.user_stmt = None
|
||||
self.code = code + '\n' # end with \n, because the parser needs it
|
||||
self.no_docstr = no_docstr
|
||||
if is_py3k():
|
||||
if is_py3k:
|
||||
self.code = self.code.encode()
|
||||
|
||||
# initialize global Scope
|
||||
|
||||
Reference in New Issue
Block a user