2022-05-05 18:25:55 +02:00

34 lines
817 B
Python

class Eggs:
pass
class Spam(object):
'''
The Spam object contains lots of spam
:param arg: The arg is used for ...
:type arg: str
:param `*args`: The variable arguments are used for ...
:param `**kwargs`: The keyword arguments are used for ...
:ivar arg: This is where we store arg
:vartype arg: str
'''
def __init__(self, arg: str, *args, **kwargs):
self.arg: str = arg
def eggs(self, number: int, cooked: bool) -> Eggs:
'''We can't have spam without eggs, so here are the eggs
:param number: The number of eggs to return
:type number: int
:param bool cooked: Should the eggs be cooked?
:raises: :class:`RuntimeError`: Out of eggs
:returns: A bunch of eggs
:rtype: Eggs
'''
pass