Opened 9 years ago
Last modified 9 years ago
#26508 closed Cleanup/optimization
FieldFile.open documentation incorrect — at Initial Version
Reported by: | Tobias McNulty | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.9 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The documentation for FieldFile.open
claims that it behaves like the standard Python open()
method, which is incorrect. It does not return a file descriptor the way the Python method does.
This method also may not be necessary to call except to re-open the file, since the underlying file is opened implicitly any time the file
attribute is accessed.
I have a proposed change to the documentation which I will link to after I have a ticket number assigned.
Note:
See TracTickets
for help on using tickets.