Skip to content

Commit 147c844

Browse files
authored
revert: remove prose echoing pyzeroconf sentence patterns (#1851)
1 parent 26a89db commit 147c844

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎README.rst‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ The easiest way to install python-zeroconf is using pip::
8888
How do I use it?
8989
================
9090

91-
Here's an example of browsing for a service:
92-
9391
.. code-block:: python
9492
9593
from zeroconf import ServiceBrowser, ServiceListener, Zeroconf
@@ -122,8 +120,6 @@ Here's an example of browsing for a service:
122120
If you want to customize that you need to specify ``interfaces`` argument when
123121
constructing ``Zeroconf`` object (see the code for details).
124122

125-
If you don't know the name of the service you need to browse for, try:
126-
127123
.. code-block:: python
128124
129125
from zeroconf import ZeroconfServiceTypes

‎src/zeroconf/_utils/ipaddress.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ def __hash__(self) -> int:
5656

5757
@property
5858
def is_link_local(self) -> bool:
59-
"""Return True if this is a link-local address."""
6059
return self._is_link_local
6160

6261
@property
6362
def is_unspecified(self) -> bool:
64-
"""Return True if this is an unspecified address."""
6563
return self._is_unspecified
6664

6765
@property
@@ -92,12 +90,10 @@ def __hash__(self) -> int:
9290

9391
@property
9492
def is_link_local(self) -> bool:
95-
"""Return True if this is a link-local address."""
9693
return self._is_link_local
9794

9895
@property
9996
def is_unspecified(self) -> bool:
100-
"""Return True if this is an unspecified address."""
10197
return self._is_unspecified
10298

10399
@property

0 commit comments

Comments
 (0)