Skip to content

Commit

Permalink
Final QA of __all__ tutorial (realpython#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
gahjelle authored Mar 4, 2024
1 parent 5450a60 commit ea3c2e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions python-__all__/calculations.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
__all__ = []
if len(__all__) == 0:
raise ImportError("wildcard import not allowed")


def add(a, b):
return float(a + b)

Expand Down
5 changes: 0 additions & 5 deletions python-__all__/main.py

This file was deleted.

0 comments on commit ea3c2e7

Please sign in to comment.