From bfa40aec107adcef1d5be953b961116b4e56176f Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Sat, 25 Jul 2015 00:52:09 +0300 Subject: [PATCH] Adding minor changes to docblocks of overriding example --- examples/providers/overriding_users_model.py | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/examples/providers/overriding_users_model.py b/examples/providers/overriding_users_model.py index c961c747..862abd11 100644 --- a/examples/providers/overriding_users_model.py +++ b/examples/providers/overriding_users_model.py @@ -9,11 +9,7 @@ class User(object): """Example class User.""" def __init__(self, id, password): - """Initializer. - - :param id: int - :param password: str - """ + """Initializer.""" self.id = id self.password = password super(User, self).__init__() @@ -24,10 +20,7 @@ class UserService(object): """Example class UserService.""" def __init__(self, user_cls): - """Initializer. - - :param user_cls: User - """ + """Initializer.""" self.user_cls = user_cls super(UserService, self).__init__() @@ -63,14 +56,7 @@ class ExtendedUser(User): def __init__(self, id, password, first_name=None, last_name=None, gender=None): - """Initializer. - - :param id: int - :param password: str - :param first_name: str - :param last_name: str - :param gender: str - """ + """Initializer.""" self.first_name = first_name self.last_name = last_name self.gender = gender