diff options
author | Barry Warsaw <barry@python.org> | 1998-07-23 16:05:56 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-07-23 16:05:56 +0000 |
commit | 97d951533e71b74a1a2502feda4a587eb9fb7d98 (patch) | |
tree | e799721708e76101f9e078a80e472142794a5667 /Python/atof.c | |
parent | 2dfe4de614b9006693d5053fbba462449609ba8e (diff) | |
download | cpython-git-97d951533e71b74a1a2502feda4a587eb9fb7d98.tar.gz |
PyErr_SetFromErrnoWithFilename(): New function which supports setting
an exception from errno, with a supplied filename (primarily used by
IOError and OSError). If class exceptions are used then the exception
is instantiated with a 3-tuple: (errno, strerror, filename). For
backwards compatibility reasons, if string exceptions are used,
filename is ignored.
PyErr_SetFromErrno(): Implement in terms of
PyErr_SetFromErrnoWithFilename().
Diffstat (limited to 'Python/atof.c')
0 files changed, 0 insertions, 0 deletions