class documentation

class Author: (source)

Constructor: Author(name)

View In Hierarchy

Class representing an author.

Method __init__ Initialize an Author object.
Method __str__ Return a string representation of the Author object.
Method add Add an article to the author's production.
Instance Variable name Undocumented
Instance Variable nDoc Undocumented
Instance Variable production Undocumented
def __init__(self, name: str): (source)

Initialize an Author object.

Args:

    name (str): The name of the author.
def __str__(self) -> str: (source)

Return a string representation of the Author object.

def add(self, article: str): (source)

Add an article to the author's production.

Args:

    article (str): The article to add.

Undocumented

Undocumented

production = (source)

Undocumented