Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove the misspelling of finalize_dynamic_globals
This commit fixes misspelling of _finalize_dynamic_globals().
This function is used only in the same file.
  • Loading branch information
PokhodenkoSA committed Dec 2, 2020
commit 168b8dd763154b3ed22350e193fea4d5b3b6f3fe
4 changes: 2 additions & 2 deletions numba/core/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def finalize(self):
self._final_module.verify()
self._finalize_final_module()

def _finalize_dyanmic_globals(self):
def _finalize_dynamic_globals(self):
# Scan for dynamic globals
for gv in self._final_module.global_variables:
if gv.name.startswith('numba.dynamic.globals'):
Expand All @@ -265,7 +265,7 @@ def _finalize_final_module(self):
"""
Make the underlying LLVM module ready to use.
"""
self._finalize_dyanmic_globals()
self._finalize_dynamic_globals()
self._verify_declare_only_symbols()

# Remember this on the module, for the object cache hooks
Expand Down