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

revert: remove prose echoing pyzeroconf sentence patterns by bdraco · Pull Request #1851 · python-zeroconf/python-zeroconf · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .rst  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 0 additions & 4 deletions README.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ The easiest way to install python-zeroconf is using pip::
How do I use it?
================

Here's an example of browsing for a service:

.. code-block:: python

from zeroconf import ServiceBrowser, ServiceListener, Zeroconf
Expand Down Expand Up @@ -122,8 +120,6 @@ Here's an example of browsing for a service:
If you want to customize that you need to specify ``interfaces`` argument when
constructing ``Zeroconf`` object (see the code for details).

If you don't know the name of the service you need to browse for, try:

.. code-block:: python

from zeroconf import ZeroconfServiceTypes
Expand Down
4 changes: 0 additions & 4 deletions src/zeroconf/_utils/ipaddress.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,10 @@ def __hash__(self) -> int:

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

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

@property
Expand Down Expand Up @@ -92,12 +90,10 @@ def __hash__(self) -> int:

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

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

@property
Expand Down
Loading

Back | FazBrowse Home | New Git URL