Skip to content

Commit 7d859ab

Browse files
authored
revert: remove two docstrings echoing 2009 phrasing (#1856)
1 parent 69c2a60 commit 7d859ab

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/zeroconf/_cache.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ def async_mark_unique_records_older_than_1s_to_expire(
329329
self._async_set_created_ttl(record, now, 1)
330330

331331
def _async_set_created_ttl(self, record: DNSRecord, now: _float, ttl: _int) -> None:
332-
"""Set the created time and ttl of a record."""
333332
# It would be better if we made a copy instead of mutating the record
334333
# in place, but records currently don't have a copy method.
335334
record._set_created_ttl(now, ttl)

‎src/zeroconf/_protocol/incoming.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ def is_response(self) -> bool:
148148
return (self.flags & _FLAGS_QR_MASK) == _FLAGS_QR_RESPONSE
149149

150150
def has_qu_question(self) -> bool:
151-
"""Returns true if any question is a QU question."""
152151
return self._has_qu_question
153152

154153
@property

0 commit comments

Comments
 (0)