def __init__(self, user, *args, **kwargs):
        super(ChangeEmailForm, self).__init__(*args, **kwargs)
        if not isinstance(user, get_user_model()):
            raise TypeError("user must be an instance of %s" % get_user_model().__name__)
        else: self.user = user
The current ``user`` is needed for initialisation of this form so
dataset/ETHPy150Open bread-and-pepper/django-userena/userena/forms.py/ChangeEmailForm.__init__