is_py3k() -> is_py3k

This commit is contained in:
David Halter
2012-09-06 02:38:57 +02:00
parent 0008e2c703
commit 18686c1d63
5 changed files with 13 additions and 14 deletions

View File

@@ -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