{ } Raw JSON

bundles / papyri latest / papyri / directives / warn

function

papyri.directives:warn

source: /papyri/directives.py :47

Signature

def   warn ( argument : str options : dict[str, str] content : str )  →  list[Any]

Summary

Directive handler that silently discards the directive and returns nothing.

Extended Summary

Register this for any directive whose content should not appear in the IR

[global.directives]
testsetup = 'papyri.directives:warn'

Aliases

  • papyri.directives.warn