Skip to content

Commit cef97fc

Browse files
authored
Fixup
1 parent dbeaf22 commit cef97fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/plugin_development.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,11 @@ In the ``spyder`` directory you'll find the following files:
463463

464464
* If it is a ``SpyderPluginV2`` you should set a constant class named ``CONTAINER_CLASS`` with an instance of ``PluginMainContainer``.
465465
* If it is a ``SpyderDockablePlugin`` you should set a constant class named ``WIDGET_CLASS`` with an instance of ``PluginMainWidget``.
466-
467-
For example:
468-
466+
467+
For example, with a ``SpyderPluginV2``:
468+
469469
.. code-block:: python
470-
470+
471471
# plugin.py
472472
from spyder.api.plugins import SpyderPluginV2
473473
from my_plugin.spyder.container import MyContainer

0 commit comments

Comments
 (0)