MCPcopy Create free account
hub / github.com/ActiveState/code / unset

Method unset

recipes/Python/577524_Python_Sessions/recipe-577524.py:61–65  ·  view source on GitHub ↗

Unset the name from the session

(self, name)

Source from the content-addressed store, hash-verified

59 return name in self
60
61 def unset(self, name):
62 """Unset the name from the session"""
63 if not self.started:
64 raise NotStarted("Session must be started")
65 del self[name]
66
67 @staticmethod
68 def __newsid():

Callers

nothing calls this directly

Calls 1

NotStartedClass · 0.85

Tested by

no test coverage detected