diff --git a/yanki/cache/entry.py b/yanki/cache/entry.py index 2515116..2e28a9c 100644 --- a/yanki/cache/entry.py +++ b/yanki/cache/entry.py @@ -71,7 +71,7 @@ def needs_load(self) -> bool: @property def value(self) -> Any: - """Get the value from this entry or UNSET or INVALID.""" + """The value from this entry or UNSET or INVALID.""" return self._value def read_file(self) -> Any: @@ -357,7 +357,7 @@ def is_valid(self): @property def value(self) -> Any: - """Get the value from this entry or UNSET or INVALID.""" + """The value from this entry or UNSET or INVALID.""" if self._value is UNSET: return UNSET try: diff --git a/yanki/cli/server.py b/yanki/cli/server.py index 8c6b014..c6e3e0b 100644 --- a/yanki/cli/server.py +++ b/yanki/cli/server.py @@ -61,12 +61,12 @@ def bind_tuple(self) -> tuple[str, int]: @property def bind_address(self) -> str: - """Get the address to bind to from --bind.""" + """The address to bind to (from --bind).""" return self.bind_tuple[0] @property def bind_port(self) -> int: - """Get the port to bind to from --bind.""" + """The port to bind to (from --bind).""" return self.bind_tuple[1] def serve_forever(self, directory="."):