Commit 7fc5f709 authored by Stefan Behnel's avatar Stefan Behnel

Remove unused constructor argument.

parent eefadb88
......@@ -69,7 +69,7 @@ class Context(object):
cython_scope = None
def __init__(self, include_directories, compiler_directives, cpp=False,
language_level=2, options=None, create_testscope=True):
language_level=2, options=None):
# cython_scope is a hack, set to False by subclasses, in order to break
# an infinite loop.
# Better code organization would fix it.
......
......@@ -29,8 +29,7 @@ class StringParseContext(Main.Context):
include_directories = []
if compiler_directives is None:
compiler_directives = {}
Main.Context.__init__(self, include_directories, compiler_directives,
create_testscope=False, cpp=cpp)
Main.Context.__init__(self, include_directories, compiler_directives, cpp=cpp)
self.module_name = name
def find_module(self, module_name, relative_to=None, pos=None, need_pxd=1, absolute_fallback=True):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment