We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5464b19 commit cc83c39Copy full SHA for cc83c39
pyfakefs/fake_file.py
@@ -999,7 +999,7 @@ def readable(self) -> bool:
999
return self.open_modes.can_read
1000
1001
def writable(self) -> bool:
1002
- """Returns the readable state of the file."""
+ """Returns the writable state of the file."""
1003
return self.open_modes.can_write
1004
1005
def _sync_io(self) -> None:
0 commit comments