Skip to content

Commit

Permalink
Update the Plugin class docstring (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinzyb authored Jan 29, 2024
1 parent 5ad1751 commit e43f00e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dpdata/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ class Plugin:
Examples
--------
>>> Plugin = Register()
>>> @Plugin.register("xx")
>>> example_plugin = Plugin()
>>> @example_plugin.register("xx")
def xxx():
pass
>>> print(Plugin.plugins['xx'])
>>> print(example_plugin.plugins['xx'])
"""

def __init__(self):
Expand Down

0 comments on commit e43f00e

Please sign in to comment.