original_docstring: 
          This method calculates the score of all players.
          This method should only be called at the last turn end of a round.
          :return: dict with player-name: scores for current round.
          
docstring: This method calculates the score of all players.
  This method should only be called at the last turn end of a round.
docstring_tokens: This method calculates the score of all players . This method should only be called at the last turn end of a round .
code: def calc_scores(self):
          """
          This method calculates the score of all players.
          This method should only be called at the last turn end of a round.
          :return: dict with player-name: scores for current round.
          """
          score_dict = self.score(
              player_cards={player_name: player.table for player_name, player in self.players.items()},
              end_round=self.is_end_of_round, end_game=self.is_end_of_game
          )
          for player_name, score in score_dict.items():
              self.scores["round-{}".format(self.round)][player_name] = float(score)
          return score_dict
code_tokens: def calc_scores ( self ) : score_dict = self . score ( player_cards = { player_name : player . table for player_name , player in self . players . items ( ) } , end_round = self . is_end_of_round , end_game = self . is_end_of_game ) for player_name , score in score_dict . items ( ) : self . scores [ "round-{}" . format ( self . round ) ] [ player_name ] = float ( score ) return score_dict
short_docstring: This method calculates the score of all players.
short_docstring_tokens: This method calculates the score of all players .
comment: """
          This method calculates the score of all players.
          This method should only be called at the last turn end of a round.
          :return: dict with player-name: scores for current round.
          """