| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -328,7 +328,7 @@ def _add_pointer_answers( | |||
| 328 | 328 | answer_set: _AnswerWithAdditionalsType, | |
| 329 | 329 | known_answers: DNSRRSet, | |
| 330 | 330 | ) -> None: | |
| 331 | - """Answer PTR/ANY question.""" | ||
| 331 | + """Build PTR answers with their DNS-SD recommended additionals.""" | ||
| 332 | 332 | for service in services: | |
| 333 | 333 | # Add recommended additional answers according to | |
| 334 | 334 | # https://tools.ietf.org/html/rfc6763#section-12.1. | |
@@ -371,7 +371,7 @@ def _answer_question( | |||
| 371 | 371 | services: list[_ServiceInfo], | |
| 372 | 372 | known_answers: DNSRRSet, | |
| 373 | 373 | ) -> _AnswerWithAdditionalsType: | |
| 374 | - """Answer a question.""" | ||
| 374 | + """Build the answer set for one question.""" | ||
| 375 | 375 | answer_set: _AnswerWithAdditionalsType = {} | |
| 376 | 376 | ||
| 377 | 377 | if strategy_type == _ANSWER_STRATEGY_SERVICE_TYPE_ENUMERATION: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -487,7 +487,7 @@ def load_from_cache(self, zc: Zeroconf, now: float_ | None = None) -> bool: | |||
| 487 | 487 | ||
| 488 | 488 | @property | |
| 489 | 489 | def name(self) -> str: | |
| 490 | - """Fully qualified name of this service instance.""" | ||
| 490 | + """The complete instance name, including the type and domain.""" | ||
| 491 | 491 | return self._name | |
| 492 | 492 | ||
| 493 | 493 | @name.setter | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -139,8 +139,8 @@ | |||
| 139 | 139 | ||
| 140 | 140 | ||
| 141 | 141 | # Wire values mapped to short human readable names, used only for reprs | |
| 142 | - # and debug logging; lookups fall back to "?(value)" at the call sites. | ||
| 143 | - # Sorted by mnemonic. | ||
| 142 | + # and debug logging; _type_label and _class_label in _dns.py supply the | ||
| 143 | + # unknown-value fallback. Sorted by mnemonic. | ||
| 144 | 144 | _CLASSES = { | |
| 145 | 145 | _CLASS_ANY: "any", | |
| 146 | 146 | _CLASS_CH: "ch", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments