jboth commited on
Commit
8fc4142
·
verified ·
1 Parent(s): 3e92d0d

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

Browse files
pytorch3d_stub/pytorch3d/structures/__init__.py CHANGED
@@ -4,7 +4,7 @@ import warnings
4
 
5
 
6
  def __getattr__(name):
7
- if name.startswith("_"):
8
  raise AttributeError(name)
9
  warnings.warn(f"pytorch3d.structures stub: {name} not implemented", stacklevel=2)
10
  class _Dummy:
 
4
 
5
 
6
  def __getattr__(name):
7
+ if name.startswith("__") and name.endswith("__"):
8
  raise AttributeError(name)
9
  warnings.warn(f"pytorch3d.structures stub: {name} not implemented", stacklevel=2)
10
  class _Dummy: