Class Initialization

Class attributes may be initialized during instantiation using the __init__() method.

class ClassName:
    def __init__(self, attribute[, attribute, ...]):
        <statements>

results matching ""

    No results matching ""