MCPcopy Index your code
hub / github.com/clips/pattern / keyword_name

Function keyword_name

pattern/web/pdf/psparser.py:117–123  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

115 return x.name
116
117def keyword_name(x):
118 if not isinstance(x, PSKeyword):
119 if STRICT:
120 raise PSTypeError('Keyword required: %r' % x)
121 else:
122 return str(x)
123 return x.name
124
125
126## PSBaseParser

Callers 1

executeMethod · 0.90

Calls 2

PSTypeErrorClass · 0.85
strFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…