Skip to main content

builtin_resolver

Function builtin_resolver 

Source
pub fn builtin_resolver(reftype: &str, target: &str) -> bool
Expand description

builtin_resolver (__init__.py:1077-1098), the py domain’s missing-reference listener at priority 900 — AFTER intersphinx’s default-priority (500) handler, so a builtin name that a loaded inventory carries resolves externally instead of being silenced (probe: :py:class:int with `int` in a mapped inventory renders the external reference; `:py:class:`bool, absent from it, is silenced).

true means “do not emit nitpicky warnings for built-in types”: the pending_xref is replaced by its content node with no reference wrapper and no warning — for class/obj targeting None, and for class/obj/exc targeting a builtins class or a typing name (with one leading typing. removed).