From 946330dfdc0c4e929829dff0f6b18a526f5acb77 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 1 Jun 2010 13:21:03 +0200 Subject: [PATCH] fix stupid typo --- Cython/Compiler/Parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2