Resource management (computing): Difference between revisions

Content deleted Content added
m fixing harvard footnotes
Hugovk (talk | contribs)
m Link to current version of Python docs
Line 132:
</syntaxhighlight>
 
By contrast, in Python, a [https://docs.python.org/23/library/csv.html#csv.reader csv.reader] does not own the <code>file</code> that it is reading, so there is no need (and it is not possible) to close the reader, and instead the <code>file</code> itself must be closed.<ref>[https://stackoverflow.com/questions/3216954/python-no-csv-close Python: No csv.close()?]</ref>
 
<syntaxhighlight lang="Python">