def func(name):
exhobj = pexdoc.exh.get_or_create_exh_obj()<EOL>exhobj.add_exception(<EOL>exname="<STR_LIT>", extype=TypeError, exmsg="<STR_LIT>"<EOL>)<EOL>exhobj.raise_exception_if(<EOL>exname="<STR_LIT>", condition=not isinstance(name, str)<EOL>)<EOL>
Print your name.

:param   name: Name to print
:type name: string

.. [[[cog cog.out(exobj_my_module.get_sphinx_autodoc()) ]]]
.. [[[end]]]