Skip to content

Commit e43f00e

Browse files
authored
Update the Plugin class docstring (#601)
1 parent 5ad1751 commit e43f00e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpdata/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ class Plugin:
66
77
Examples
88
--------
9-
>>> Plugin = Register()
10-
>>> @Plugin.register("xx")
9+
>>> example_plugin = Plugin()
10+
>>> @example_plugin.register("xx")
1111
def xxx():
1212
pass
13-
>>> print(Plugin.plugins['xx'])
13+
>>> print(example_plugin.plugins['xx'])
1414
"""
1515

1616
def __init__(self):

0 commit comments

Comments
 (0)