We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6817dad commit c0ac10aCopy full SHA for c0ac10a
src_py/__init__.py
@@ -114,8 +114,8 @@ def warn(self):
114
loader = importlib.machinery.FrozenImporter
115
spec = importlib.machinery.ModuleSpec("", loader)
116
pygame_static.import_cython(spec)
117
- delete loader, spec
118
- delete pygame_static
+ del loader, spec
+ del pygame_static
119
120
121
# we need to import like this, each at a time. the cleanest way to import
@@ -385,7 +385,7 @@ def __color_reduce(c):
385
if sys.platform in ("wasi", "emscripten"):
386
try:
387
import pygame_wasm_patches
388
- delete pygame_wasm_patches
+ del pygame_wasm_patches
389
except (ImportError, OSError):
390
pass
391
0 commit comments