Skip to content
Myr

document SandboxedNativeEnvironment pattern

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 028f61d · Browse files · 1 file+11 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−0 removed

  • other:+11 added−0 removed

1 file+11 added−0 removed

modified:docs/nativetypes.rst+11 added
53 unmodified lines
54Foo55>>> print(result.value)56155758Sandboxed Native Environment59----------------------------6061You can combine :class:`.SandboxedEnvironment` and :class:`NativeEnvironment` to62get both behaviors.6364.. code-block:: python6566 class SandboxedNativeEnvironment(SandboxedEnvironment, NativeEnvironment):67 pass6869API70---7172.. autoclass:: NativeEnvironment([options])
3 unmodified lines