sportsref/nba/players.py
def hand(self):
        """Returns the player's handedness.
        :returns: 'L' for left-handed, 'R' for right-handed.
        """
        doc = self.get_main_doc()
        hand = re.search(r'Shoots:\s*(L|R)', doc.text()).group(1)
        return hand
def hand(self):
        """Returns the player's handedness.
        :returns: 'L' for left-handed, 'R' for right-handed.
        """
        doc = self.get_main_doc()
        hand = re.search(r'Shoots:\s*(L|R)', doc.text()).group(1)
        return hand
def hand ( self ) : doc = self . get_main_doc ( ) hand = re . search ( r'Shoots:\s*(L|R)' , doc . text ( ) ) . group ( 1 ) return hand
Returns the player's handedness.
        :returns: 'L' for left-handed, 'R' for right-handed.
Returns the player s handedness . : returns : L for left - handed R for right - handed .