Skip to content

Commit a16f999

Browse files
committed
Remove dodging the issue with ctypes
1 parent 0d1b297 commit a16f999

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Lib/ctypes/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,6 @@ class c_wchar(_SimpleCData):
259259
_type_ = "u"
260260

261261
def _reset_cache():
262-
# Skip this in wasm
263-
py_wasm = _os.getenv("PYTHONWASM", "NOT SET")
264-
if py_wasm == "1":
265-
return
266-
267262
_pointer_type_cache.clear()
268263
_c_functype_cache.clear()
269264
if _os.name == "nt":

0 commit comments

Comments
 (0)