On this page

Square

from noon import Square

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: Rectangle. Declared members follow; inherited and dynamically attached members are not expanded.

Square.__init__

Square.__init__(self, side_length: float=2.0, *, color: _base.Color | None=None, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
side_lengthpositional or keywordfloat2.0
colorkeyword-only_base.Color | NoneNone
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration