jboth commited on
Commit
e0de0ec
·
verified ·
1 Parent(s): c31c078

Upload pytorch3d_stub/pytorch3d/vis/__init__.py with huggingface_hub

Browse files
pytorch3d_stub/pytorch3d/vis/__init__.py CHANGED
@@ -3,7 +3,7 @@ import importlib
3
  import warnings
4
 
5
  def __getattr__(name):
6
- if name.startswith("_"):
7
  raise AttributeError(name)
8
  try:
9
  return importlib.import_module(f".{name}", __name__)
 
3
  import warnings
4
 
5
  def __getattr__(name):
6
+ if name.startswith("__") and name.endswith("__"):
7
  raise AttributeError(name)
8
  try:
9
  return importlib.import_module(f".{name}", __name__)