Deprecate the fpformat module for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-10 22:11:45 +00:00
parent e35a3a1d6b
commit fe5985188d
5 changed files with 14 additions and 3 deletions

View file

@ -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