diff --git a/.github/CONTRIBUTING.rst b/.github/CONTRIBUTING.rst index c81a9b7af..0f6147d9b 100644 --- a/.github/CONTRIBUTING.rst +++ b/.github/CONTRIBUTING.rst @@ -184,8 +184,8 @@ break the API classes. For example: .. code-block:: python # GOOD - def __init__(self, id, name, **kwargs): - self.last_name = kwargs.get('last_name', '') + def __init__(self, id, name, last_name='', **kwargs): + self.last_name = last_name # BAD def __init__(self, id, name, last_name=''):