Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
Co-authored-by: dgw <[email protected]>
  • Loading branch information
Exirel and dgw authored Oct 30, 2020
1 parent ef356e0 commit 21886c7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions sopel/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,14 @@ def homedir(self):
return os.path.dirname(self.filename)

def get_defined_sections(self):
"""Retrieve all defined static section of this configuration.
"""Retrieve all defined static sections of this configuration.
:return: a list of all instance of
:class:`~sopel.config.types.StaticSection` defined for this
configuration file.
:return: all instances of :class:`~sopel.config.types.StaticSection`
defined for this configuration file
:rtype: list
When a plugin defines a section (using :meth:`define_section`), it
associate a :class:`~sopel.config.types.StaticSection` for the section.
associates a :class:`~sopel.config.types.StaticSection` for the section.
This method allows to retrieve these instances of ``StaticSection``,
and only these.
Expand Down

0 comments on commit 21886c7

Please sign in to comment.