fix __init__: drop comprehension-scoped _name from del
Browse files
build/torch29-cxx11-cu128-aarch64-linux/dropout_layer_norm/__init__.py
CHANGED
|
@@ -18,4 +18,4 @@ _spec.loader.exec_module(_ext)
|
|
| 18 |
|
| 19 |
globals().update({_name: getattr(_ext, _name) for _name in dir(_ext) if not _name.startswith("_")})
|
| 20 |
|
| 21 |
-
del
|
|
|
|
| 18 |
|
| 19 |
globals().update({_name: getattr(_ext, _name) for _name in dir(_ext) if not _name.startswith("_")})
|
| 20 |
|
| 21 |
+
del _ext, _spec, _so_path, importlib, Path
|
build/torch29-cxx11-cu128-x86_64-linux/dropout_layer_norm/__init__.py
CHANGED
|
@@ -18,4 +18,4 @@ _spec.loader.exec_module(_ext)
|
|
| 18 |
|
| 19 |
globals().update({_name: getattr(_ext, _name) for _name in dir(_ext) if not _name.startswith("_")})
|
| 20 |
|
| 21 |
-
del
|
|
|
|
| 18 |
|
| 19 |
globals().update({_name: getattr(_ext, _name) for _name in dir(_ext) if not _name.startswith("_")})
|
| 20 |
|
| 21 |
+
del _ext, _spec, _so_path, importlib, Path
|