diff --git a/docs/file.rst b/docs/file.rst index f132dae..3000ef3 100644 --- a/docs/file.rst +++ b/docs/file.rst @@ -116,7 +116,7 @@ In real life scenarios we should try to use `with` statement. It will take care >>> with open('setup.py') as fobj: ... for line in fobj: - ... print line, + ... print(line) ... #!/usr/bin/env python3 """Factorial project"""