A pypi demonstration vehicle.
This is something I want to say that is not in the docstring.
Platforms: Unix, Windows
We use this as a public class example class.
You never call this class before calling public_fn_with_sphinxy_docstring().
Note
An example of intersphinx is this: you cannot use pickle on this class.
This gets the foobar
This really should have a full function definition, but I am too lazy.
>>> print get_foobar(10, 20)
30
>>> print get_foobar('a', 'b')
ab
Isn’t that what you want?
This function does something.
int. The return code:
0 -- Success!
1 -- No good.
2 -- Try again.
A really great idea. A way you might use me is
>>> print public_fn_with_googley_docstring(name='foo', state=None)
0
BTW, this always returns 0. NEVER use with MyPublicClass.
This function does something.
Parameters: |
|
---|---|
Returns: | int – the return code. |
Raises: | AttributeError, KeyError |
This is something I want to say that is not in the docstring.
A very useful module indeed.
This function does something.
Parameters: |
|
---|---|
Returns: | int – the return code. |
Raises: | AttributeError, KeyError |
We use this as a public class example class.
You never call this class before calling public_fn_with_sphinxy_docstring().
Note
An example of intersphinx is this: you cannot use pickle on this class.
This gets the foobar
This really should have a full function definition, but I am too lazy.
>>> print get_foobar(10, 20)
30
>>> print get_foobar('a', 'b')
ab
Isn’t that what you want?
A private function to get baz.
This really should have a full function definition, but I am too lazy.