MCPcopy
hub / github.com/Nuitka/Nuitka / getConstantsCount

Method getConstantsCount

nuitka/Serialization.py:274–278  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272 return key
273
274 def getConstantsCount(self):
275 # Make sure to add no more after asking this.
276 self.constants_writer.close()
277
278 return len(self.constants)
279
280 def getConstantNames(self):
281 return tuple(self.constants)

Callers 1

Calls 2

lenFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected