Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def one_time_warning(position, key, message):
    if key not in warnings_issued:
        warnings_issued[key] = 1
        warning(position, message)
        


src/p/y/Pyrex-real-0.9.9/Pyrex/Compiler/Nodes.py   Pyrex-real(Download)
 
import Code
from Errors import error, one_time_warning, InternalError
import Naming
import PyrexTypes
                    code.error_goto(arg.pos)))
            if arg.allow_none is None:
                one_time_warning(arg.pos, 'or_none',
                    "'not None' will become the default in a future version of Pyrex. "
                    "Use 'or None' to allow passing None.")