diff options
| author | J08nY | 2024-05-27 12:22:35 +0200 |
|---|---|---|
| committer | J08nY | 2024-05-27 12:22:35 +0200 |
| commit | f5e45652424c6f49625144c193b0837a25f25543 (patch) | |
| tree | 94f31b174992a57596fa04bc8c0f6545024ef5d7 /pyecsca/ec/context.py | |
| parent | cdba24efe7db53846cdec1cc15b4c4f01be90336 (diff) | |
| download | pyecsca-f5e45652424c6f49625144c193b0837a25f25543.tar.gz pyecsca-f5e45652424c6f49625144c193b0837a25f25543.tar.zst pyecsca-f5e45652424c6f49625144c193b0837a25f25543.zip | |
Diffstat (limited to 'pyecsca/ec/context.py')
| -rw-r--r-- | pyecsca/ec/context.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyecsca/ec/context.py b/pyecsca/ec/context.py index feac713..12776c3 100644 --- a/pyecsca/ec/context.py +++ b/pyecsca/ec/context.py @@ -265,6 +265,7 @@ def local(ctx: Optional[Context] = None) -> ContextManager: Use a local context. Use it like a contextmanager, the context is active during its execution. + >>> with local(DefaultContext()) as ctx: ... with Action() as action: ... pass |
