commit | 1625d88709abb45d392d1f48b1803ab5dde3bd77 | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Oct 30 21:56:43 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Oct 30 21:56:43 2012 +0200 |
tree | a7a1fb02a5660a395623d49da10037d070bc1c79 | |
parent | 5c89c19eae988245a826dc1f750c55ebb5f329bc [diff] [blame] |
Issue #16341: convert examples to use except ... as ... syntax.
diff --git a/Doc/library/xdrlib.rst b/Doc/library/xdrlib.rst index e56650c..6f05306 100644 --- a/Doc/library/xdrlib.rst +++ b/Doc/library/xdrlib.rst
@@ -274,6 +274,5 @@ p = xdrlib.Packer() try: p.pack_double(8.01) - except xdrlib.ConversionError, instance: + except xdrlib.ConversionError as instance: print 'packing the double failed:', instance.msg -