Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBELYN committed Jul 10, 2020
1 parent 88bddd2 commit a9af9f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ ping(address, count=4, interval=1, timeout=2, id=PID, **kwargs)
9 # host and received by the current host

>>> host.packet_loss # Packet loss occurs when packets fail to
0.1 # reach their destination. Return a float
0.1 # reach their destination. Returns a float
# between 0 and 1 (all packets are lost)
>>> host.is_alive # Indicate whether the host is reachable
>>> host.is_alive # Indicates whether the host is reachable
True
```

Expand Down
4 changes: 2 additions & 2 deletions examples/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
# 9

# Packet loss occurs when packets fail to reach their destination
# Return a float between 0 and 1 (all packets are lost)
# Returns a float between 0 and 1 (all packets are lost)
print(host.packet_loss)
# 0.1

# Indicate whether the host is reachable
# Indicates whether the host is reachable
print(host.is_alive)
# True

0 comments on commit a9af9f2

Please sign in to comment.