def namespaced(obj, tagname, namespace: str | None = None): ...
