sportsref/nba/players.py
def height(self):
        """Returns the player's height (in inches).
        :returns: An int representing a player's height in inches.
        """
        doc = self.get_main_doc()
        raw = doc('span[itemprop="height"]').text()
        try:
            feet, inches = map(int, raw.split('-'))
            return feet * 12 + inches
        except ValueError:
            return None
def height(self):
        """Returns the player's height (in inches).
        :returns: An int representing a player's height in inches.
        """
        doc = self.get_main_doc()
        raw = doc('span[itemprop="height"]').text()
        try:
            feet, inches = map(int, raw.split('-'))
            return feet * 12 + inches
        except ValueError:
            return None
def height ( self ) : doc = self . get_main_doc ( ) raw = doc ( 'span[itemprop="height"]' ) . text ( ) try : feet , inches = map ( int , raw . split ( '-' ) ) return feet * 12 + inches except ValueError : return None
Returns the player's height (in inches).
        :returns: An int representing a player's height in inches.
Returns the player s height ( in inches ) . : returns : An int representing a player s height in inches .