mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
Merge pull request #2073 from alex/more-typos
Fixed a pair of typos in docstrings
This commit is contained in:
@@ -226,7 +226,7 @@ class JSONObjectWithFields(util.ImmutableMap, interfaces.JSONDeSerializable):
|
|||||||
|
|
||||||
:param str name: Name of the field to be encoded.
|
:param str name: Name of the field to be encoded.
|
||||||
|
|
||||||
:raises erors.SerializationError: if field cannot be serialized
|
:raises errors.SerializationError: if field cannot be serialized
|
||||||
:raises errors.Error: if field could not be found
|
:raises errors.Error: if field could not be found
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ class ImmutableMap(collections.Mapping, collections.Hashable):
|
|||||||
"""Immutable key to value mapping with attribute access."""
|
"""Immutable key to value mapping with attribute access."""
|
||||||
|
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
"""Must be overriden in subclasses."""
|
"""Must be overridden in subclasses."""
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
if set(kwargs) != set(self.__slots__):
|
if set(kwargs) != set(self.__slots__):
|
||||||
|
|||||||
Reference in New Issue
Block a user