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*.
16
16
"Resources" are file-like resources associated with a module or package in
17
17
Python. The resources may be contained directly in a package, within a
18
18
subdirectory 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.
24
25
25
26
Resources can be opened or read in either binary or text mode.
26
27
You can’t perform that action at this time.
0 commit comments