Skip to content

Commit c0ac10a

Browse files
committed
typo
1 parent 6817dad commit c0ac10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src_py/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def warn(self):
114114
loader = importlib.machinery.FrozenImporter
115115
spec = importlib.machinery.ModuleSpec("", loader)
116116
pygame_static.import_cython(spec)
117-
delete loader, spec
118-
delete pygame_static
117+
del loader, spec
118+
del pygame_static
119119

120120

121121
# we need to import like this, each at a time. the cleanest way to import
@@ -385,7 +385,7 @@ def __color_reduce(c):
385385
if sys.platform in ("wasi", "emscripten"):
386386
try:
387387
import pygame_wasm_patches
388-
delete pygame_wasm_patches
388+
del pygame_wasm_patches
389389
except (ImportError, OSError):
390390
pass
391391

0 commit comments

Comments
 (0)