testpackage.test_printer#

Classes#

TestMessage

This is the docstring for the TestMessage class.

TestPrinter

This is the docstring for TestPrinter

Functions#

function_within_package()

This is just an example of a function within a package

Module Contents#

class testpackage.test_printer.TestMessage(message_string)#

Bases: object

This is the docstring for the TestMessage class.

Parameters:

message_string (string) – String to be printed later

static from_number(number)#

Creates a TestMessage from the provided number.

Parameters:

number (int) – the number to convert into a string

Return type:

TestMessage

class testpackage.test_printer.TestPrinter(msg)#

Bases: object

This is the docstring for TestPrinter Stuff

Parameters:

msg (testpackage.test_message.TestMessage) – Message to be stored for later printing

print()#

This function is used to print the stored message.

Return type:

None

testpackage.test_printer.function_within_package()#

This is just an example of a function within a package that is not also contained within a class.

Return type:

None