make section comments more prominent

This commit is contained in:
Jan Petykiewicz 2020-05-11 20:31:35 -07:00
parent a440f2e256
commit 6b09fc0c20

View File

@ -56,7 +56,9 @@ class Shape(metaclass=ABCMeta):
object.__setattr__(new, name, getattr(self, name))
return new
# --- Abstract methods
'''
--- Abstract methods
'''
@abstractmethod
def to_polygons(self,
num_vertices: Optional[int] = None,
@ -148,7 +150,9 @@ class Shape(metaclass=ABCMeta):
"""
pass
# ---- Non-abstract properties
'''
---- Non-abstract properties
'''
# offset property
@property
def offset(self) -> numpy.ndarray:
@ -194,7 +198,9 @@ class Shape(metaclass=ABCMeta):
raise PatternError('Dose must be non-negative')
self._dose = val
# ---- Non-abstract methods
'''
---- Non-abstract methods
'''
def copy(self: T) -> T:
"""
Returns a deep copy of the shape.