lib/__builtins__/file.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/file.py Thu Dec 08 23:36:43 2016 +0100 1.2 +++ b/lib/__builtins__/file.py Thu Dec 08 23:50:56 2016 +0100 1.3 @@ -69,7 +69,11 @@ 1.4 check_string(s) 1.5 native._fwrite(self.__data__, s) 1.6 1.7 - def close(self): pass 1.8 + def close(self): 1.9 + 1.10 + "Close the stream." 1.11 + 1.12 + native._fclose(self.__data__) 1.13 1.14 class file(filestream): 1.15