Py3: Use global next() instead of iterator method

This commit is contained in:
Shadab Zafar 2016-06-07 12:08:46 +05:30
parent 0280af9522
commit 6b03df2633

View File

@ -10,11 +10,11 @@ import tutils
def parse_request(s):
return language.parse_pathoc(s, True).next()
return next(language.parse_pathoc(s, True))
def parse_response(s):
return language.parse_pathod(s, True).next()
return next(language.parse_pathod(s, True))
def default_settings():