diff options
Diffstat (limited to 'Doc/library/stat.rst')
-rw-r--r-- | Doc/library/stat.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stat.rst b/Doc/library/stat.rst index 430bb23fee..d4eae5d1a4 100644 --- a/Doc/library/stat.rst +++ b/Doc/library/stat.rst @@ -157,10 +157,10 @@ Example:: callback(pathname) else: # Unknown file type, print a message - print 'Skipping %s' % pathname + print('Skipping %s' % pathname) def visitfile(file): - print 'visiting', file + print('visiting', file) if __name__ == '__main__': walktree(sys.argv[1], visitfile) |