Skip to content

Commit 76baa74

Browse files
Typo and adding a small detail.
1 parent 4c6ef73 commit 76baa74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CODING_CONVENTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The following structures principles may also be followed:
114114

115115
- `__init__.py` should not contain code, but `__all__`
116116

117-
In fact, the `__all__` variable in a Python module is a list of public objects that the module exports. When you use the from module import * statement, Python will import only the names listed in `__all__`. This helps control the namespace and prevents accidental imports of internal or private module components.
117+
In fact, the `__all__` variable in a Python module is a list of public objects that the module exports. When you use the `from module import *` statement, Python will import only the names listed in `__all__`. This helps control the namespace and prevents accidental imports of internal or private module components. We can see this as interfaces in Java.
118118

119119
For example, if a module `diracx-router.py` contains:
120120

0 commit comments

Comments
 (0)