Initial
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
__pycache__
|
||||||
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
```
|
||||||
|
❯ python main.py
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/home/eden/tmp/init_import_test/main.py", line 1, in <module>
|
||||||
|
from lib.some_class import SomeClass
|
||||||
|
File "/home/eden/tmp/init_import_test/lib/__init__.py", line 1, in <module>
|
||||||
|
raise Exception()
|
||||||
|
Exception
|
||||||
|
```
|
||||||
1
lib/__init__.py
Normal file
1
lib/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
raise Exception()
|
||||||
1
lib/some_class.py
Normal file
1
lib/some_class.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
class SomeClass: ...
|
||||||
Reference in New Issue
Block a user