Home
last modified time | relevance | path

Searched refs:isidentifier (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Lib/idlelib/
Dhyperparser.py189 while i - 4 >= limit and ('a' + str[i - 4:pos]).isidentifier():
191 if i - 2 >= limit and ('a' + str[i - 2:pos]).isidentifier():
193 if i - 1 >= limit and ('a' + str[i - 1:pos]).isidentifier():
200 if not str[i:pos].isidentifier():
/third_party/python/Tools/c-analyzer/c_common/
Dtables.py312 elif not isinstance(field, str) or not field.isidentifier():
320 elif not field.isidentifier() or fmt.isidentifier():
/third_party/python/Lib/
Dzipapp.py123 mod_ok = all(part.isidentifier() for part in mod.split('.'))
124 fn_ok = all(part.isidentifier() for part in fn.split('.'))
Dsre_parse.py701 if not name.isidentifier():
707 if not name.isidentifier():
770 if condname.isidentifier():
999 if name.isidentifier():
Dtokenize.py591 elif initial.isidentifier(): # ordinary name
Ddataclasses.py1380 if not isinstance(name, str) or not name.isidentifier():
Dargparse.py123 if name.isidentifier():
Dinspect.py2665 if not name.isidentifier():
/third_party/python/Lib/test/
Dtest_unicode.py736 self.assertTrue("a".isidentifier())
737 self.assertTrue("Z".isidentifier())
738 self.assertTrue("_".isidentifier())
739 self.assertTrue("b0".isidentifier())
740 self.assertTrue("bc".isidentifier())
741 self.assertTrue("b_".isidentifier())
742 self.assertTrue("µ".isidentifier())
743 self.assertTrue("��������������".isidentifier())
745 self.assertFalse(" ".isidentifier())
746 self.assertFalse("[".isidentifier())
[all …]
/third_party/python/Lib/collections/
D__init__.py362 if (not name.isidentifier()
372 if not name.isidentifier():
1462 def isidentifier(self): member in UserString
1463 return self.data.isidentifier()
/third_party/python/Lib/lib2to3/pgen2/
Dtokenize.py503 elif initial.isidentifier(): # ordinary name
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_misc.py36 self.assertFalse(name.isidentifier(), msg=repr(name))
/third_party/skia/third_party/externals/jinja2/
Dlexer.py638 if check_ident and not value.isidentifier():
/third_party/node/tools/inspector_protocol/jinja2/
Dlexer.py578 if check_ident and not value.isidentifier():
/third_party/node/deps/v8/third_party/jinja2/
Dlexer.py638 if check_ident and not value.isidentifier():
/third_party/jinja2/
Dlexer.py642 if not value.isidentifier():
/third_party/python/Misc/NEWS.d/
D3.9.0b1.rst27 Fixed :meth:`str.isidentifier` for non-canonicalized strings containing
/third_party/python/Tools/c-analyzer/c_parser/
Dinfo.py506 if parsed.parent.isidentifier():
/third_party/python/Lib/unittest/
Dmock.py188 if not name.isidentifier():
/third_party/python/Doc/library/
Dstdtypes.rst1757 .. method:: str.isidentifier()
1770 >>> 'hello'.isidentifier(), iskeyword('hello')
1772 >>> 'def'.isidentifier(), iskeyword('def')