From b6a7f77c9ff557643dee97e0c9e39c194376fa0a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 May 1997 03:03:23 +0000 Subject: [PATCH] Oops -- missed FloatingPointError in renaming. --- Misc/RENAME | 1 + Python/bltinmodule.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Misc/RENAME b/Misc/RENAME index 92e3aa50b7d..fe13dbe6ead 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 7c46286ce23..4029e1b9c1e 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");