zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
Z±dSã@sLddlmZmZddlmZddlmZeddœdd„Zeddœdd    „ZdS)
é)ÚGLOBAL_RUN_CONTEXTÚ_NO_SEND)Ú LOCALS_KEY_KI_PROTECTION_ENABLED)Ú
InstrumentN)Ú
instrumentÚreturncCs<dtƒt<ztjj |¡WStk
r6tdƒ‚YnXdS)zàStart instrumenting the current run loop with the given instrument.
 
        Args:
          instrument (trio.abc.Instrument): The instrument to activate.
 
        If ``instrument`` is already active, does nothing.
 
        Tú!must be called from async contextN)ÚlocalsrrÚrunnerÚ instrumentsÚadd_instrumentÚAttributeErrorÚ RuntimeError©r©rú\d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\trio/_core/_generated_instrumentation.pyr s
    
r cCs<dtƒt<ztjj |¡WStk
r6tdƒ‚YnXdS)a¹Stop instrumenting the current run loop with the given instrument.
 
        Args:
          instrument (trio.abc.Instrument): The instrument to de-activate.
 
        Raises:
          KeyError: if the instrument is not currently active. This could
              occur either because you never added it, or because you added it
              and then it raised an unhandled exception and was automatically
              deactivated.
 
        TrN)r    rrr
r Úremove_instrumentr rrrrrrs
 
r)    Z_runrrZ_kirZ_instrumentationrr rrrrrÚ<module>s