Properly rephrase

This commit is contained in:
Alexander Hess 2026-12-04 11:34:42 +01:00
commit e52883e682
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
5 changed files with 16 additions and 6 deletions

View file

@ -180,11 +180,13 @@ class Address(meta.Base):
return self.location.y return self.location.y
def clear_map(self) -> t.Self: # pragma: no cover def clear_map(self) -> t.Self: # pragma: no cover
"""Shortcut to the `.city.clear_map()` method. """Discard the map of the `.city`.
Delegates to `City.clear_map()`.
Returns: Returns:
self: enabling method chaining self: enabling method chaining
""" # noqa:D402 """
self.city.clear_map() self.city.clear_map()
return self return self

View file

@ -33,7 +33,9 @@ class Customer(meta.Base):
) )
def clear_map(self) -> t.Self: # pragma: no cover def clear_map(self) -> t.Self: # pragma: no cover
"""Shortcut to the `...city.clear_map()` method. """Discard the map of the city where the customer is.
Delegates to `City.clear_map()`.
Returns: Returns:
self: enabling method chaining self: enabling method chaining

View file

@ -128,7 +128,9 @@ class Grid(meta.Base):
return grid return grid
def clear_map(self) -> t.Self: # pragma: no cover def clear_map(self) -> t.Self: # pragma: no cover
"""Shortcut to the `.city.clear_map()` method. """Discard the map of the `.city`.
Delegates to `City.clear_map()`.
Returns: Returns:
self: enabling method chaining self: enabling method chaining

View file

@ -152,7 +152,9 @@ class Pixel(meta.Base):
) )
def clear_map(self) -> t.Self: # pragma: no cover def clear_map(self) -> t.Self: # pragma: no cover
"""Shortcut to the `.city.clear_map()` method. """Discard the map of the `.grid.city`.
Delegates to `City.clear_map()`.
Returns: Returns:
self: enabling method chaining self: enabling method chaining

View file

@ -77,7 +77,9 @@ class Restaurant(meta.Base):
return f"<{self.__class__.__name__}({self.name})>" return f"<{self.__class__.__name__}({self.name})>"
def clear_map(self) -> t.Self: # pragma: no cover def clear_map(self) -> t.Self: # pragma: no cover
"""Shortcut to the `.address.city.clear_map()` method. """Discard the map of the `.address.city`.
Delegates to `City.clear_map()`.
Returns: Returns:
self: enabling method chaining self: enabling method chaining