1
0
Эх сурвалжийг харах

Remove ... between param and return in docstrings

Azrenbeth 2 жил өмнө
parent
commit
dccf0f8f31

+ 2 - 2
sydent/config/__init__.py

@@ -209,7 +209,7 @@ class SydentConfig:
         Parse the configuration from a ConfigParser object
 
         :param cfg: the configuration to be parsed
-        ...
+
         :return: Whether or not cfg has been changed and needs saving
         """
         self._parse_config(cfg)
@@ -301,7 +301,7 @@ class SydentConfig:
         :param db_path : The SQLite Database file for Sydent to use.
         :param generate_secrets: True if we should generate new secrets for things
             like the sigining key. If False, these parameters will be left unset.
-        ...
+
         :return: the yaml config file contents
         """
 

+ 1 - 1
sydent/config/crypto.py

@@ -80,7 +80,7 @@ class CryptoConfig:
 
         :param generate_secrets: True if we should generate new secrets for things
             like the sigining key. If False, these parameters will be left unset.
-        ...
+
         :return: the yaml config section
         """
 

+ 1 - 1
sydent/config/database.py

@@ -36,7 +36,7 @@ class DatabaseConfig:
         Generate the database config section
 
         :param db_path: The SQLite Database file for Sydent to use.
-        ...
+
         :return: the yaml config section
         """
 

+ 1 - 1
sydent/sydent.py

@@ -255,7 +255,7 @@ class Sydent:
         :type brand: str or None
         :param template_name: The name of the template file to load.
         :type template_name: str
-        ...
+
         :return: The template filename to use.
         :rtype: str
         """