cf.List.close

List.close()[source]

Close all files referenced by the construct.

Deprecated at version 3.14.0. All files are now automatically closed when not being accessed.

Note that a closed file will be automatically reopened if its contents are subsequently required.

See also

files

Returns

None

Examples

>>> f.close()