]> granicus.if.org Git - python/commitdiff
Fix grammar
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 24 Jul 2014 05:08:15 +0000 (08:08 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 24 Jul 2014 05:08:15 +0000 (08:08 +0300)
Doc/tutorial/errors.rst

index 6d14cb34808d928891874bb76698a5a1086ab760..6f77def11877c8ce47b839394286b1b862f94873 100644 (file)
@@ -184,7 +184,7 @@ attributes to it as desired. ::
    ... except Exception as inst:
    ...    print type(inst)     # the exception instance
    ...    print inst.args      # arguments stored in .args
-   ...    print inst           # __str__ allows args to printed directly
+   ...    print inst           # __str__ allows args to be printed directly
    ...    x, y = inst.args
    ...    print 'x =', x
    ...    print 'y =', y