Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02a6888

Browse files
committed
Note to move __package__ stuff over to rpartition to make Nick happy. Also make
sure that accepting the empty string for top-level modules is okay.
1 parent 8ec5829 commit 02a6888

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/importlib/NOTES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
to do
22
/////
33

4+
* Use rpartition for getting the package of a module.
5+
6+
+ Make sure that an empty string is acceptable for __package__.
7+
48
* Create meta_path importer for sys.path.
59

610
+ Create hook.

0 commit comments

Comments
 (0)