diff options
author | Michael Howitz <mh@gocept.com> | 2021-11-16 09:58:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 09:58:00 +0100 |
commit | 9eb8fb9be37d1481b9940d0d9a88a24f58d0b6a5 (patch) | |
tree | 823959ec2ea6f1d86f56d8cf5cbb5634fc3279cd | |
parent | c65e3380b0a18c92a0fc2d2b770b17cfaaec054b (diff) | |
download | python-setuptools-git-9eb8fb9be37d1481b9940d0d9a88a24f58d0b6a5.tar.gz |
Reduce resource_string documentation confusion.
Besides the name the function returns bytes.
-rw-r--r-- | docs/pkg_resources.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pkg_resources.rst b/docs/pkg_resources.rst index fb5fc077..c1158189 100644 --- a/docs/pkg_resources.rst +++ b/docs/pkg_resources.rst @@ -1151,7 +1151,7 @@ paths. will be read as-is. ``resource_string(package_or_requirement, resource_name)`` - Return the specified resource as a string. The resource is read in + Return the specified resource as ``bytes``. The resource is read in binary fashion, such that the returned string contains exactly the bytes that are stored in the resource. |