Omitted self in function definition

_get_ip(self)