FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

revert: remove wmcbrine's readme fork note and six short derivative d… · python-zeroconf/python-zeroconf@066e087 · GitHub

Repository navigation

Commit 066e087

Browse files
committed
revert: remove wmcbrine's readme fork note and six short derivative docstrings
1 parent 82c41e0 commit 066e087

6 files changed

Lines changed: 0 additions & 21 deletions

File tree

‎README.rst‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,6 @@ This is fork of pyzeroconf, Multicast DNS Service Discovery for Python,
2424
originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),
2525
modified by William McBrine (https://github.com/wmcbrine/pyzeroconf).
2626

27-
The original William McBrine's fork note::
28-
29-
This fork is used in all of my TiVo-related projects: HME for Python
30-
(and therefore HME/VLC), Network Remote, Remote Proxy, and pyTivo.
31-
Before this, I was tracking the changes for zeroconf.py in three
32-
separate repos. I figured I should have an authoritative source.
33-
34-
Although I make changes based on my experience with TiVos, I expect that
35-
they're generally applicable. This version also includes patches found
36-
on the now-defunct (?) Launchpad repo of pyzeroconf, and elsewhere
37-
around the net -- not always well-documented, sorry.
38-
3927
Compatible with:
4028

4129
* Bonjour

‎src/zeroconf/_cache.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ def _remove_key(cache: _DNSRecordCacheType, key: _str, record: _DNSRecord) -> No
6666

6767

6868
class DNSCache:
69-
"""A cache of DNS entries."""
70-
7169
def __init__(self) -> None:
7270
self.cache: _DNSRecordCacheType = {}
7371
self._expire_heap: list[tuple[float, DNSRecord]] = []

‎src/zeroconf/_dns.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ def __repr__(self) -> str:
296296

297297

298298
class DNSHinfo(DNSRecord):
299-
"""A DNS host information record"""
300-
301299
__slots__ = ("_hash", "cpu", "os")
302300

303301
def __init__(

‎src/zeroconf/_protocol/incoming.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ def __repr__(self) -> str:
235235
)
236236

237237
def _read_header(self) -> None:
238-
"""Reads header portion of packet"""
239238
offset = self.offset
240239
if offset + 12 > self._data_len:
241240
raise IncomingDecodeError(
@@ -252,7 +251,6 @@ def _read_header(self) -> None:
252251
self._num_additionals = buf[offset + 10] << 8 | buf[offset + 11]
253252

254253
def _read_questions(self) -> None:
255-
"""Reads questions section of packet"""
256254
buf = self._buf
257255
questions = self._questions
258256
for _ in range(self._num_questions):

‎src/zeroconf/_services/info.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def __init__(
252252

253253
@property
254254
def name(self) -> str:
255-
"""The name of the service."""
256255
return self._name
257256

258257
@name.setter

‎src/zeroconf/_utils/ipaddress.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def is_unspecified(self) -> bool:
6666

6767
@property
6868
def is_loopback(self) -> bool:
69-
"""Return True if this is a loop back."""
7069
return self._is_loopback
7170

7271

@@ -103,7 +102,6 @@ def is_unspecified(self) -> bool:
103102

104103
@property
105104
def is_loopback(self) -> bool:
106-
"""Return True if this is a loop back."""
107105
return self._is_loopback
108106

109107

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL