def get_country(self):
        """Returns the name of the country of the user."""

        doc = self._request(self.ws_prefix + ".getInfo", True)

        country = _extract(doc, "country")

        if country is None or country == "None":
            return None
        else:
            return Country(country, self.network)
def get_country ( self ) : doc = self . _request ( self . ws_prefix + ".getInfo" , True ) country = _extract ( doc , "country" ) if country is None or country == "None" : return None else : return Country ( country , self . network )
Returns the name of the country of the user.