def _parse_nationality(self, player_info):
for span in player_info('<STR_LIT>').items():<EOL><INDENT>if '<STR_LIT>' in str(span):<EOL><INDENT>nationality = span.text()<EOL>nationality = NATIONALITY[nationality]<EOL>setattr(self, '<STR_LIT>', nationality)<EOL>break<EOL><DEDENT><DEDENT>
Parse the player's nationality.

The player's nationality is denoted by a flag in the information
section with a country code for each nation. The country code needs to
pulled and then matched to find the player's home country. Once found,
the '_nationality' attribute is set for the player.

Parameters
----------
player_info : PyQuery object
    A PyQuery object containing the HTML from the player's stats page.