Clarify use of import via pseudo dir... (#18569)

This commit is contained in:
GordonBGood 2021-07-27 14:38:30 +07:00 • committed by GitHub
commit 37f5f0d7d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6190,6 +6190,7 @@ There are two pseudo directories:
its semantics are: *Use the search path to look for module name but ignore the standard its semantics are: *Use the search path to look for module name but ignore the standard
library locations*. In other words, it is the opposite of `std`. library locations*. In other words, it is the opposite of `std`.
It is recommended and preferred but not currently enforced that all stdlib module imports include the std/ "pseudo directory" as part of the import name.
From import statement From import statement
--------------------- ---------------------