name_to_internal¶
- name_to_internal(element_name)[source]¶
Convert element name from user API to internal representation. Example:
>>> name_to_external("foo") foo:1 :rtype: :sphinx_autodoc_typehints_type:`\:py\:class\:\`str\``
>>> name_to_external("foo[2]") foo:2
See
name_from_internal()
for further information.