diff --git a/certbot-apache/certbot_apache/interfaces.py b/certbot-apache/certbot_apache/interfaces.py index 0aeb63aff..1af2bfe58 100644 --- a/certbot-apache/certbot_apache/interfaces.py +++ b/certbot-apache/certbot_apache/interfaces.py @@ -234,7 +234,7 @@ class DirectiveNode(ParserNode): :param tuple parameters: Tuple of str parameters for this DirectiveNode. Default: (). :param ancestor: BlockNode ancestor for this DirectiveNode, or None for - root configuratio node. Required. + root configuration node. Required. :param filepath: Filesystem path for the file where this DirectiveNode does or should exist in the filesystem, or None for directives introduced in the httpd command line. Required. diff --git a/certbot-apache/certbot_apache/parsernode_util.py b/certbot-apache/certbot_apache/parsernode_util.py index b87699183..4ed8fc1c1 100644 --- a/certbot-apache/certbot_apache/parsernode_util.py +++ b/certbot-apache/certbot_apache/parsernode_util.py @@ -45,7 +45,7 @@ def commentnode_kwargs(kwargs): :param dict kwargs: Keyword argument dictionary to validate. - :returns: Tuple of validated and prepared arguments and the remaining kwargs. + :returns: Tuple of validated and prepared arguments and ParserNode kwargs. """ kwargs.setdefault("dirty", False) kwargs = validate_kwargs(kwargs, ["ancestor", "dirty", "filepath", "comment"]) @@ -61,7 +61,7 @@ def node_kwargs(kwargs): :param dict kwargs: Keyword argument dictionary to validate. - :returns: Tuple of validated and prepared arguments. + :returns: Tuple of validated and prepared arguments and ParserNode kwargs. """ kwargs.setdefault("dirty", False) kwargs.setdefault("enabled", True)