From 651119fd698b3aef6bf12a2ea4d19375ce8ad18f Mon Sep 17 00:00:00 2001 From: Jacob Bom Date: Fri, 30 Dec 2016 13:58:57 +0100 Subject: [PATCH] Fix instances of empty strings in __init__ in example contributing code --- .github/CONTRIBUTING.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CONTRIBUTING.rst b/.github/CONTRIBUTING.rst index 0f6147d9b..ac3e77cda 100644 --- a/.github/CONTRIBUTING.rst +++ b/.github/CONTRIBUTING.rst @@ -184,11 +184,11 @@ break the API classes. For example: .. code-block:: python # GOOD - def __init__(self, id, name, last_name='', **kwargs): + def __init__(self, id, name, last_name=None, **kwargs): self.last_name = last_name # BAD - def __init__(self, id, name, last_name=''): + def __init__(self, id, name, last_name=None): self.last_name = last_name