def _format_type_in_doc(self, namespace, data_type):
if is_void_type(data_type):<EOL><INDENT>return '<STR_LIT:None>'<EOL><DEDENT>elif is_user_defined_type(data_type):<EOL><INDENT>return '<STR_LIT>'.format(<EOL>self.args.types_package, namespace.name, fmt_type(data_type))<EOL><DEDENT>else:<EOL><INDENT>return fmt_type(data_type)<EOL><DEDENT>
Returns a string that can be recognized by Sphinx as a type reference
in a docstring.