summaryrefslogtreecommitdiff
path: root/Cython/Compiler/UtilityCode.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/UtilityCode.py')
-rw-r--r--Cython/Compiler/UtilityCode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/UtilityCode.py b/Cython/Compiler/UtilityCode.py
index 756f0f4d7..c58c8623c 100644
--- a/Cython/Compiler/UtilityCode.py
+++ b/Cython/Compiler/UtilityCode.py
@@ -199,7 +199,7 @@ class CythonUtilityCode(Code.UtilityCodeBase):
return util.proto, util.impl # keep line numbers => no lstrip()
def declare_in_scope(self, dest_scope, used=False, cython_scope=None,
- whitelist=None):
+ allowlist=None):
"""
Declare all entries from the utility code in dest_scope. Code will only
be included for used entries. If module_name is given, declare the
@@ -218,7 +218,7 @@ class CythonUtilityCode(Code.UtilityCodeBase):
entry.used = used
original_scope = tree.scope
- dest_scope.merge_in(original_scope, merge_unused=True, whitelist=whitelist)
+ dest_scope.merge_in(original_scope, merge_unused=True, allowlist=allowlist)
tree.scope = dest_scope
for dep in self.requires: