py_qs_example package¶
An example package created by pypi-sphinx-quickstart.
Describe what the entire package is for, with the first sentence containing the main idea.
Submodules¶
py_qs_example.mymodule module¶
An example docstring for the mymodule module.
Describe what the entire module is for, with the first sentence containing the main idea.
-
class
py_qs_example.mymodule.
ExampleClass
(num, klass=None)[source]¶ Bases:
object
An example class created from the pypi-sphinx-quickstart tutorial.
-
__init__
(num, klass=None)[source]¶ Class init method.
Describe how to pass arguments here.
- Parameters
klass¶ (
Optional
[ExampleClass
]) – example argument with custom type
-
-
py_qs_example.mymodule.
example_function
(thing, arg)[source]¶ Example for function documentation.
- Parameters
thing¶ (
ExampleClass
) – A thing to pass
- Return type
- Returns
thing and arg combined into a string
- Example
>>> import py_qs_example.mymodule >>> ec = py_qs_example.mymodule.ExampleClass(1) >>> py_qs_example.mymodule.example_function(ec, 'this') 'examplethis'