Skip to content
  • Staf Verhaegen (FibraServi)'s avatar
    Reduced API guarantees · 3139b8f0
    Staf Verhaegen (FibraServi) authored
    
    
    Sometimes use more genereric return type:
    * _PointsShape.points() -> Iterable[Point]
    * _Shape.pointsshapes() -> Iterable[PointsShapeT]
    * _Shape.bounds() -> RectangularT
    * MultiShape.shapes() -> Iterable[ShapeT]
    * Generator[*, None, None] -> Iterable[*]
    
    Privatise classes:
    * SubLayouts -> _SubLayouts
    * MaskShapesSubLayout -> _MaskShapesSubLayout
    
    Privatise attributes:
    * _Cell.circuits -> _Cell._circuits
    * _Cell.layouts -> Cell._layouts
    * _Layout._sublayouts -> _Layout._sublayouts
    
    Signed-off-by: default avatarStaf Verhaegen <staf@fibraservi.eu>
    3139b8f0