gym_splendor_code/envs/mechanics/deck.py
def pop_card(self,
            row: Row) -> Card:
        """Pops a card from a given row. Returns this card and removes it from the deck."""
        if len(self.decks_dict[row]) > 0:
            return self.decks_dict[row].pop(0)
Pops a card from a given row. Returns this card and removes it from the deck.
Pops a card from a given row. Returns this card and removes it from the deck.
Pops a card from a given row . Returns this card and removes it from the deck .
def pop_card(self,
            row: Row) -> Card:
        if len(self.decks_dict[row]) > 0:
            return self.decks_dict[row].pop(0)
def pop_card ( self , row : Row ) -> Card : if len ( self . decks_dict [ row ] ) > 0 : return self . decks_dict [ row ] . pop ( 0 )
Pops a card from a given row.
Pops a card from a given row .
"""Pops a card from a given row. Returns this card and removes it from the deck."""
self
row
Row