📍 (Değiştir)
E-Posta
🎤
Dinleniyor...
favicon
peps.python.org
PEP 3141 – A Type Hierarchy for Numbers | peps.python.org

Defines a hierarchy of Abstract Base Classes (ABCs) (PEP 3119) to represent number-like classes. It proposes a hierarchy of Number :> Complex :> Real :> Rational :> Integral where A :> B means “A is a supertype of B”. Th...