File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ within *packages*.
1616"Resources" are file-like resources associated with a module or package in
1717Python. The resources may be contained directly in a package, within a
1818subdirectory contained in that package, or adjacent to modules outside a
19- package. Resources may be text or binary. As a result, Python module sources
20- (.py) of a package and compilation artifacts (pycache) are technically
21- de-facto resources of that package. In practice, however, resources are
22- primarily those non-Python artifacts exposed specifically by the package
23- author.
19+ package. Resources may be text or binary. As a result, a package's Python
20+ module sources (.py), compilation artifacts (pycache), and installation
21+ artifacts (like :func: `reserved filenames <os.path.isreserved> `
22+ in directories) are technically de-facto resources of that package.
23+ In practice, however, resources are primarily those non-Python artifacts
24+ exposed specifically by the package author.
2425
2526Resources can be opened or read in either binary or text mode.
2627
You can’t perform that action at this time.
0 commit comments