diff --git a/README.rst b/README.rst index aa6b73a..0c8875d 100644 --- a/README.rst +++ b/README.rst @@ -117,7 +117,8 @@ EXCEL! ++++++ :: - >>> open('people.xls', 'wb').write(data.xls) + >>> with open('people.xls', 'wb') as f: + ... f.write(data.xls) It's that easy.