summaryrefslogtreecommitdiff
path: root/docs/news.txt
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-07-24 03:46:10 -0700
committerChris Dent <cdent@anticdent.org>2019-07-24 11:46:10 +0100
commit37bb9b45cdb55b50a4c2b371c5a0a75198863287 (patch)
tree4119dd4f3cc246ba9c3ce8859f9db0e9201cf347 /docs/news.txt
parent0cfebf50090b7069a4c9b3bc6baf65693d22792d (diff)
downloadpaste-git-37bb9b45cdb55b50a4c2b371c5a0a75198863287.tar.gz
Fix WSGIResponse.__call__ on Python 3. (#27)
Replace `isinstance(self.content, file)` with a duck type for the `read()` method. Having a read method is what PEP 333 defines as the minimum requirement for a "file-like" object.
Diffstat (limited to 'docs/news.txt')
0 files changed, 0 insertions, 0 deletions