MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / reset

Method reset

pager_lib/pyasn1/type/univ.py:2316–2324  ·  view source on GitHub ↗

Remove all components and become a |ASN.1| schema object. See :meth:`isValue` property for more information on the distinction between value and schema objects.

(self)

Source from the content-addressed store, hash-verified

2314 return self
2315
2316 def reset(self):
2317 """Remove all components and become a |ASN.1| schema object.
2318
2319 See :meth:`isValue` property for more information on the
2320 distinction between value and schema objects.
2321 """
2322 self._componentValues = noValue
2323 self._dynamicNames = self.DynamicNames()
2324 return self
2325
2326 @property
2327 def components(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected