# HG changeset patch
# User Ilya Etingof <etingof@gmail.com>
# Date 1569913542 -7200
#      Tue Oct 01 09:05:42 2019 +0200
# Node ID 2b6a4bb9fd81f8dfd1d2990d6fc7dc83af1a9f18
# Parent  c0eb0e89f52d4cb5df3b958bce140a8139463620
Update `streaming.read` docstring

Co-Authored-By: Jan Pipek <jan.pipek@gmail.com>

diff --git a/pyasn1/codec/streaming.py b/pyasn1/codec/streaming.py
--- a/pyasn1/codec/streaming.py
+++ b/pyasn1/codec/streaming.py
@@ -210,7 +210,7 @@
     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