MCPcopy Create free account
hub / github.com/ml-explore/mlx / ~PyKeySequence

Method ~PyKeySequence

python/src/random.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19class PyKeySequence {
20 public:
21 ~PyKeySequence() {
22 if (state_.has_value()) {
23 nb::gil_scoped_acquire gil;
24 state_.reset();
25 }
26 }
27
28 void reset() {
29 state_.reset();

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected