Py3: Use global next() instead of iterator method

This commit is contained in:
Shadab Zafar 2016-06-06 00:52:37 +05:30 committed by Maximilian Hils
parent 1e1b4fd88d
commit efb0f7133c

View File

@ -6,7 +6,7 @@ import tutils
def parse_request(s):
return language.parse_pathoc(s).next()
return next(language.parse_pathoc(s))
class TestWebsocketFrame: