MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _processoptions

Function _processoptions

tools/python-3.11.9-amd64/Lib/warnings.py:206–211  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

204
205# Helper to process -W options passed via sys.warnoptions
206def _processoptions(args):
207 for arg in args:
208 try:
209 _setoption(arg)
210 except _OptionError as msg:
211 print("Invalid -W option ignored:", msg, file=sys.stderr)
212
213# Helper for _processoptions()
214def _setoption(arg):

Callers 1

warnings.pyFile · 0.85

Calls 2

_setoptionFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected