projects
/
mdis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdef7c
)
visitor: update naming conventions
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 13 Jun 2023 21:54:46 +0000
(
00:54
+0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 13 Jun 2023 22:01:13 +0000
(
01:01
+0300)
src/mdis/visitor.py
patch
|
blob
|
history
diff --git
a/src/mdis/visitor.py
b/src/mdis/visitor.py
index 2b2843344201c55242357e42603939a178dc3575..9b1e02bac39ff9288df8ed4ceec59aa9a3d67309 100644
(file)
--- a/
src/mdis/visitor.py
+++ b/
src/mdis/visitor.py
@@
-9,6
+9,7
@@
class VisitorMeta(_dispatcher.DispatcherMeta):
class Visitor(_dispatcher.Dispatcher, metaclass=VisitorMeta):
+ @_contextlib.contextmanager
@_core.hook(object)
- def object(self, instance):
+ def
dispatch_
object(self, instance):
yield instance