One more test of nbdev

say_hello[source]

say_hello(to)

Say hello to somebody

class Card[source]

Card(suit=0, rank=2)

Represents a standard playing card.

Attributes: suit: integer 0-3 rank: integer 1-13

class Deck[source]

Deck()

Represents a deck of cards. Attributes: cards: list of Card objects.

class Hand[source]

Hand(label='') :: Deck

Represents a hand of playing cards.

find_defining_class[source]

find_defining_class(obj, method_name)

Finds and returns the class object that will provide the definition of method_name (as a string) if it is invoked on obj. obj: any python object method_name: string method name

<class '__main__.Deck'>
Ace of Clubs
3 of Diamonds
9 of Hearts
King of Hearts
4 of Spades