Home
last modified time | relevance | path

Searched refs:iskeyword (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/test/
Dtest_keyword.py7 self.assertTrue(keyword.iskeyword('True'))
10 self.assertFalse(keyword.iskeyword('TRUE'))
13 self.assertFalse(keyword.iskeyword(None))
21 self.assertFalse(keyword.iskeyword('eggs'))
/third_party/python/Lib/
Dkeyword.py62 iskeyword = frozenset(kwlist).__contains__ variable
Ddataclasses.py1382 if keyword.iskeyword(name):
/third_party/python/Lib/idlelib/
Dhyperparser.py7 from keyword import iskeyword
212 iskeyword(str[i:pos]) and
/third_party/python/Doc/library/
Dkeyword.rst15 .. function:: iskeyword(s)
Dstdtypes.rst1755 Call :func:`keyword.iskeyword` to test whether string ``s`` is a reserved
1761 >>> from keyword import iskeyword
1763 >>> 'hello'.isidentifier(), iskeyword('hello')
1765 >>> 'def'.isidentifier(), iskeyword('def')
/third_party/python/Tools/scripts/
Dhighlight.py54 elif keyword.iskeyword(tok_str):
/third_party/cef/tools/yapf/yapf/yapflib/
Dformat_token.py248 return keyword.iskeyword(self.value)
/third_party/python/Lib/collections/
D__init__.py35 from keyword import iskeyword as _iskeyword
/third_party/node/tools/inspector_protocol/jinja2/
Dcompiler.py13 from keyword import iskeyword as is_python_keyword
/third_party/jinja2/
Dcompiler.py6 from keyword import iskeyword as is_python_keyword
/third_party/skia/third_party/externals/jinja2/
Dcompiler.py6 from keyword import iskeyword as is_python_keyword