Skip to content

Commit

Permalink
Merge pull request #2890 from icemac/patch-1
Browse files Browse the repository at this point in the history
Reduce resource_string documentation confusion.
  • Loading branch information
jaraco authored Nov 18, 2021
2 parents be0310d + 9eb8fb9 commit 24c766c
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 24c766c

Please sign in to comment.