diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2014-07-24 05:08:15 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2014-07-24 05:08:15 (GMT) |
commit | 909d61f7dddb95170f85ffd9aa2381116b9197fd (patch) | |
tree | 1bc4e6e7d2a526d398fdf28d927a61caabbd4585 | |
parent | cbe6d24313f125ee0afad83e77ed0185100014d1 (diff) | |
download | cpython-909d61f7dddb95170f85ffd9aa2381116b9197fd.zip cpython-909d61f7dddb95170f85ffd9aa2381116b9197fd.tar.gz cpython-909d61f7dddb95170f85ffd9aa2381116b9197fd.tar.bz2 |
Fix grammar
-rw-r--r-- | Doc/tutorial/errors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 6d14cb3..6f77def 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -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 |