[New-bugs-announce] [issue16785] Document the fact that constructing OSError with erron returns subclass if possible

Andrew Svetlov report at bugs.python.org
Wed Dec 26 12:35:12 CET 2012


New submission from Andrew Svetlov:

I mean adding examples for constructions like this:

>>> OSError(errno.ENOENT, 'error msg')
FileNotFoundError(2, 'error msg')

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 178204
nosy: asvetlov, docs at python
priority: normal
severity: normal
status: open
title: Document the fact that constructing OSError with erron returns subclass if possible
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16785>
_______________________________________


More information about the New-bugs-announce mailing list