From: Stefan Behnel Date: Tue, 1 Jun 2010 11:21:03 +0000 (+0200) Subject: fix stupid typo X-Git-Tag: 0.13.beta0~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=946330dfdc0c4e929829dff0f6b18a526f5acb77;p=cython.git fix stupid typo --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index 49c774a1..f36fbdd9 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -2590,7 +2590,7 @@ def p_module(s, pxd, full_module_name): s.parse_comments = False if 'language_level' in directive_comments: - s.context.set_language_level('language_level') + s.context.set_language_level(directive_comments['language_level']) doc = p_doc_string(s) if pxd: