diff options
-rw-r--r-- | Misc/RENAME | 1 | ||||
-rw-r--r-- | Python/bltinmodule.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Misc/RENAME b/Misc/RENAME index 92e3aa5..fe13dbe 100644 --- a/Misc/RENAME +++ b/Misc/RENAME @@ -36,6 +36,7 @@ AccessError PyExc_AccessError AttributeError PyExc_AttributeError ConflictError PyExc_ConflictError EOFError PyExc_EOFError +FloatingPointError PyExc_FloatingPointError IOError PyExc_IOError ImportError PyExc_ImportError IndexError PyExc_IndexError diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 7c46286..4029e1b 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1679,7 +1679,7 @@ PyObject *PyExc_AccessError; PyObject *PyExc_AssertionError; PyObject *PyExc_AttributeError; PyObject *PyExc_EOFError; -PyObject *FloatingPointError; +PyObject *PyExc_FloatingPointError; PyObject *PyExc_IOError; PyObject *PyExc_ImportError; PyObject *PyExc_IndexError; @@ -1713,7 +1713,7 @@ initerrors() PyExc_AssertionError = newstdexception("AssertionError"); PyExc_AttributeError = newstdexception("AttributeError"); PyExc_EOFError = newstdexception("EOFError"); - FloatingPointError = newstdexception("FloatingPointError"); + PyExc_FloatingPointError = newstdexception("FloatingPointError"); PyExc_IOError = newstdexception("IOError"); PyExc_ImportError = newstdexception("ImportError"); PyExc_IndexError = newstdexception("IndexError"); |