mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Deprecate the fpformat module for removal in 3.0.
This commit is contained in:
parent
e35a3a1d6b
commit
fe5985188d
5 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue