commit | fe5985188d76b56e1c61736055f2e8854e44d6cd | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat May 10 22:11:45 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat May 10 22:11:45 2008 +0000 |
tree | 0da55d00c96acd3238a8535819c55bffeeed8f4a | |
parent | e35a3a1d6b5c8a48f98bd8be529a0a24e1cb151f [diff] [blame] |
Deprecate the fpformat module for removal in 3.0.
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 @@ 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