Skip to content

Commit

Permalink
Fix simple typo: visite -> visit
Browse files Browse the repository at this point in the history
Closes binux#941
  • Loading branch information
timgates42 committed Feb 29, 2020
1 parent ad3ae13 commit 30ccc65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyspider/libs/counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class CounterManager(DictMixin):
"""
A dict like counter manager.
When using a tuple as event key, say: ('foo', 'bar'), You can visite counter
When using a tuple as event key, say: ('foo', 'bar'), You can visit counter
with manager['foo']['bar']. Or get all counters which first element is 'foo'
by manager['foo'].
Expand Down
2 changes: 1 addition & 1 deletion pyspider/libs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def __get__(self, instance, owner):

class ObjectDict(dict):
"""
Object like dict, every dict[key] can visite by dict.key
Object like dict, every dict[key] can visit by dict.key
If dict[key] is `Get`, calculate it's value.
"""
Expand Down

0 comments on commit 30ccc65

Please sign in to comment.