Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
sage.misc.lazy_import.finish_startup: Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 5, 2021
1 parent 181e4a0 commit bc2b707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/lazy_import.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ cpdef finish_startup():
...
AssertionError: finish_startup() must be called exactly once
"""
global startup_guard
global startup_guard, finish_startup_called
assert startup_guard, 'finish_startup() must be called exactly once'
startup_guard = False
finish_startup_called = True
Expand Down

0 comments on commit bc2b707

Please sign in to comment.