Skip to content

Commit

Permalink
Reduce resource_string documentation confusion.
Browse files Browse the repository at this point in the history
Besides the name the function returns bytes.
  • Loading branch information
Michael Howitz authored Nov 16, 2021
1 parent c65e338 commit 9eb8fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pkg_resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9eb8fb9

Please sign in to comment.