Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Fix simple typo: visite -> visit #942

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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