Skip to content

Commit 5f363a8

Browse files
cxzhongda-woods
andauthored
Update src/sage/cpython/atexit.pyx
Co-authored-by: da-woods <[email protected]>
1 parent 43fd133 commit 5f363a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/cpython/atexit.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def _get_exithandlers():
212212

213213
# Python 3.14+ uses a PyList directly
214214
if sys.version_info >= (3, 14):
215-
callbacks_list = <object>get_atexit_callbacks_list(atexit)
215+
callbacks_list = get_atexit_callbacks_list(atexit)
216216
if callbacks_list is None:
217217
return exithandlers
218218
# callbacks is a list of tuples: [(func, args, kwargs), ...]

0 commit comments

Comments
 (0)