summaryrefslogtreecommitdiffstats
path: root/Lib/fpformat.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/fpformat.py')
-rw-r--r--Lib/fpformat.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/fpformat.py b/Lib/fpformat.py
index 0ae86a9..71cbb25 100644
--- a/Lib/fpformat.py
+++ b/Lib/fpformat.py
@@ -10,6 +10,9 @@ Parameters:
x: number to be formatted; or a string resembling a number
digits_behind: number of digits behind the decimal point
"""
+from warnings import warnpy3k
+warnpy3k("the fpformat module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import re