Properly rephrase
This commit is contained in:
parent
36dc405035
commit
e52883e682
5 changed files with 16 additions and 6 deletions
|
|
@ -180,11 +180,13 @@ class Address(meta.Base):
|
|||
return self.location.y
|
||||
|
||||
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:
|
||||
self: enabling method chaining
|
||||
""" # noqa:D402
|
||||
"""
|
||||
self.city.clear_map()
|
||||
return self
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,9 @@ class Customer(meta.Base):
|
|||
)
|
||||
|
||||
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:
|
||||
self: enabling method chaining
|
||||
|
|
|
|||
|
|
@ -128,7 +128,9 @@ class Grid(meta.Base):
|
|||
return grid
|
||||
|
||||
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:
|
||||
self: enabling method chaining
|
||||
|
|
|
|||
|
|
@ -152,7 +152,9 @@ class Pixel(meta.Base):
|
|||
)
|
||||
|
||||
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:
|
||||
self: enabling method chaining
|
||||
|
|
|
|||
|
|
@ -77,7 +77,9 @@ class Restaurant(meta.Base):
|
|||
return f"<{self.__class__.__name__}({self.name})>"
|
||||
|
||||
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:
|
||||
self: enabling method chaining
|
||||
|
|
|
|||
Loading…
Reference in a new issue