internal CPythonConstant GetConstant(IPythonType type) { CPythonConstant constant; if (_constants.TryGetValue(type, out constant) || (constant = _inner?.GetConstant(type)) != null) { return(constant); } _constants[type] = constant = new CPythonConstant(type); return(constant); }
internal CPythonConstant GetConstant(IPythonType type) { return(_sharedState.GetConstant(type)); }