summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-10-01 09:05:42 +0200
committerGitHub <noreply@github.com>2019-10-01 09:05:42 +0200
commit904ad0a2b6882b12ac5df1bed58beb2bc96422dc (patch)
tree490169eb7a57d275f91466f099b5d80a08f0b84f
parent5e5cd761531a32eba2c8e80789358830e83fd66a (diff)
downloadpyasn1-git-904ad0a2b6882b12ac5df1bed58beb2bc96422dc.tar.gz
Update `streaming.read` docstring
Co-Authored-By: Jan Pipek <jan.pipek@gmail.com>
-rw-r--r--pyasn1/codec/streaming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyasn1/codec/streaming.py b/pyasn1/codec/streaming.py
index 31c40f2..91446cd 100644
--- a/pyasn1/codec/streaming.py
+++ b/pyasn1/codec/streaming.py
@@ -210,7 +210,7 @@ def read(substrate, size=-1, context=None):
Yields
------
: :py:class:`bytes` or :py:class:`str` or :py:class:`SubstrateUnderrunError`
- Returns read data or :py:class:`~pyasn1.error.SubstrateUnderrunError`
+ Read data or :py:class:`~pyasn1.error.SubstrateUnderrunError`
object if no `size` bytes is readily available in the stream. The
data type depends on Python major version