summaryrefslogtreecommitdiff
path: root/Python/importlib_external.h
diff options
context:
space:
mode:
authorCristian Ciupitu <cristian.ciupitu@yahoo.com>2019-02-21 09:53:06 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2019-02-21 09:53:06 +0200
commit11fa0e48a958716186eb99348a46064e944eccf6 (patch)
tree6bbc2f5b96281a5817aaba01987582404d1f7641 /Python/importlib_external.h
parentebc793d6acb9650b9f497808e059805892031d74 (diff)
downloadcpython-git-11fa0e48a958716186eb99348a46064e944eccf6.tar.gz
Doc: fix example for iter() function. (GH-11959)
read() returns bytes for a file opened in binary mode, so b'' should be used as a sentinel instead of ''. Otherwise the loop will be infinite.
Diffstat (limited to 'Python/importlib_external.h')
0 files changed, 0 insertions, 0 deletions