MCPcopy Index your code
hub / github.com/python/cpython / _resolve_data

Method _resolve_data

Tools/c-analyzer/c_parser/info.py:1272–1278  ·  view source on GitHub ↗
(cls, data)

Source from the content-addressed store, hash-verified

1270
1271 @classmethod
1272 def _resolve_data(cls, data):
1273 if not data:
1274 # XXX There should be some! Forward?
1275 return None, None
1276 enumerators = [e if isinstance(e, str) else e.name
1277 for e in data]
1278 return enumerators, None
1279
1280 @classmethod
1281 def _raw_data(self, data):

Callers 1

from_parsedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected