Merge pull request #60 from jnothman/patch-2

Remove obsolete StopIteration warning
This commit is contained in:
INADA Naoki 2013-04-12 00:46:47 -07:00
commit b587bb02c4

View file

@ -151,9 +151,6 @@ the result, or ignoring it. The latter two methods return the number of elements
in the upcoming container, so that each element in an array, or key-value pair
in a map, can be unpacked or skipped individually.
Warning: these methods raise ``StopIteration`` when called at the end of the
stream. Unless caught, this may silently break an iteration.
Each of these methods may optionally write the packed data it reads to a
callback function: