mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#4736 BufferRWPair.closed shouldn't try to call another property as a function
This commit is contained in:
parent
e098c4abe5
commit
54686e3c29
3 changed files with 5 additions and 2 deletions
|
|
@ -1167,7 +1167,7 @@ class BufferedRWPair(BufferedIOBase):
|
|||
|
||||
@property
|
||||
def closed(self):
|
||||
return self.writer.closed()
|
||||
return self.writer.closed
|
||||
|
||||
|
||||
class BufferedRandom(BufferedWriter, BufferedReader):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue