summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei-Ming Yang <rick68@users.noreply.github.com>2018-03-20 06:17:44 +0800
committerJeff Widman <jeff@jeffwidman.com>2018-03-24 23:05:07 -0700
commit32fd01ff7d5f0c419380233cfa0aab0c0eb11012 (patch)
treebda5ac332c6d33dcb1bc917aeaf894459e58ad49
parent6f7a603de9f04ec46d9946c6f5b1cb6e2b913b63 (diff)
downloadkazoo-32fd01ff7d5f0c419380233cfa0aab0c0eb11012.tar.gz
Update states.py
fix a typo.
-rw-r--r--kazoo/protocol/states.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kazoo/protocol/states.py b/kazoo/protocol/states.py
index b77ba56..66a8425 100644
--- a/kazoo/protocol/states.py
+++ b/kazoo/protocol/states.py
@@ -152,8 +152,8 @@ class ZnodeStat(namedtuple('ZnodeStat', 'czxid mzxid ctime mtime version'
' numChildren pzxid')):
"""A ZnodeStat structure with convenience properties
- When getting the value of a node from Zookeeper, the properties for
- the node known as a "Stat structure" will be retrieved. The
+ When getting the value of a znode from Zookeeper, the properties for
+ the znode known as a "Stat structure" will be retrieved. The
:class:`ZnodeStat` object provides access to the standard Stat
properties and additional properties that are more readable and use
Python time semantics (seconds since epoch instead of ms).
@@ -175,7 +175,7 @@ class ZnodeStat(namedtuple('ZnodeStat', 'czxid mzxid ctime mtime version'
.. attribute:: created (ctime)
- The time in seconds from epoch when this node was created.
+ The time in seconds from epoch when this znode was created.
(ctime is in milliseconds)
.. attribute:: last_modified (mtime)