ai-content-maker/.venv/Lib/site-packages/numba/tests/errorhandling_usecases.py

15 lines
284 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
from numba import typed, int64
# used in TestMiscErrorHandling::test_handling_of_write_to_*_global
_global_list = [1, 2, 3, 4]
_global_dict = typed.Dict.empty(int64, int64)
def global_reflected_write():
_global_list[0] = 10
def global_dict_write():
_global_dict[0] = 10