jboth commited on
Commit
9581637
·
verified ·
1 Parent(s): ae15956

Upload pytorch3d_stub/pytorch3d/__init__.py with huggingface_hub

Browse files
pytorch3d_stub/pytorch3d/__init__.py CHANGED
@@ -5,7 +5,7 @@ import warnings
5
  __version__ = "0.0.0-stub"
6
 
7
  def __getattr__(name):
8
- if name.startswith("_"):
9
  raise AttributeError(name)
10
  # Try importing submodule first
11
  try:
 
5
  __version__ = "0.0.0-stub"
6
 
7
  def __getattr__(name):
8
+ if name.startswith("__") and name.endswith("__"):
9
  raise AttributeError(name)
10
  # Try importing submodule first
11
  try: