mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-46852: Remove the float.__set_format__() method (GH-31585)
Remove the undocumented private float.__set_format__() method, previously known as float.__set_format__() in Python 3.7. Its docstring said: "You probably don't want to use this function. It exists mainly to be used in Python's test suite."
This commit is contained in:
parent
4060111f9d
commit
5ab745fc51
7 changed files with 15 additions and 214 deletions
|
@ -1943,7 +1943,7 @@ right = ' '.join('r%s' % n for n in numerics.split())
|
|||
_non_defaults = {
|
||||
'__get__', '__set__', '__delete__', '__reversed__', '__missing__',
|
||||
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
|
||||
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
|
||||
'__getstate__', '__setstate__', '__getformat__',
|
||||
'__repr__', '__dir__', '__subclasses__', '__format__',
|
||||
'__getnewargs_ex__',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue