diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-10-01 09:05:42 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-11-15 19:39:11 +0100 |
commit | 831e97aeb147c31ac44ef38e481aef2a1320fddf (patch) | |
tree | f1a7a410eb601302d14238b5e1f3f09111718b87 | |
parent | 2e6e1ab5d28094dfabcb114a0eca16413ab1ff1b (diff) | |
download | pyasn1-git-831e97aeb147c31ac44ef38e481aef2a1320fddf.tar.gz |
Update `streaming.read` docstring
Co-Authored-By: Jan Pipek <jan.pipek@gmail.com>
-rw-r--r-- | pyasn1/codec/streaming.py | 2 |
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 |