mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-04 10:12:49 +08:00
fractions: use __new__ instead of __init__ (#4077)
Tested against some example code.
This commit is contained in:
1 parent
6028226750
commit
6aee098401
2 files changed
+7
-10
No files matched your search
@@ -23,6 +23,7 @@ collections.Reversible
|
||||
collections.UserString.maketrans
|
||||
ctypes.CDLL.__init__
|
||||
decimal.Decimal.as_integer_ratio
|
||||
fractions.Fraction.__new__ # private _normalize param was made keyword-only in Python 3.6
|
||||
gettext.NullTranslations.npgettext
|
||||
gettext.NullTranslations.pgettext
|
||||
gettext.dnpgettext
|
||||
|
||||
Reference in new issue
Block a user