From 9382c4723102337bc649f5ff5b75d590530269b6 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 25 Apr 2008 20:17:20 +0200 Subject: [PATCH] typo --- Cython/Compiler/Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 182e98b2..f88925b2 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -146,7 +146,7 @@ class Context: else: filename_encoding = sys.getfilesystemencoding() if filename_encoding is None: - filename_encoding = getdefaultencoding() + filename_encoding = sys.getdefaultencoding() name = source_filename.decode(filename_encoding) s = PyrexScanner(f, name, source_encoding = f.encoding, -- 2.26.2