/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | rlcompleter.py | 103 import keyword namespace 106 for word in keyword.kwlist:
|
H A D | BaseHTTPServer.py | 137 where <command> is a (case-sensitive) keyword such as GET or POST, 398 def send_header(self, keyword, value): 401 self.wfile.write("%s: %s\r\n" % (keyword, value)) 403 if keyword.lower() == 'connection':
|
H A D | smtpd.py | 214 def __getaddr(self, keyword, arg): 216 keylen = len(keyword) 217 if arg[:keylen].upper() == keyword:
|
H A D | tarfile.py | 1159 that contains a list of keyword, value pairs. The values 1163 for keyword, value in pax_headers.iteritems(): 1164 keyword = keyword.encode("utf8") 1166 l = len(keyword) + len(value) + 3 # ' ' + '=' + '\n' 1173 records.append("%d %s=%s\n" % (p, keyword, value)) 1379 # "%d %s=%s\n" % (length, keyword, value). length is the size 1381 # the newline. keyword and value are both UTF-8 encoded strings. 1389 length, keyword = match.groups() 1393 keyword [all...] |
H A D | cgitb.py | 25 import keyword namespace 86 if ttype == tokenize.NAME and token not in keyword.kwlist:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | rlcompleter.py | 103 import keyword namespace 106 for word in keyword.kwlist:
|
H A D | BaseHTTPServer.py | 137 where <command> is a (case-sensitive) keyword such as GET or POST, 398 def send_header(self, keyword, value): 401 self.wfile.write("%s: %s\r\n" % (keyword, value)) 403 if keyword.lower() == 'connection':
|
H A D | smtpd.py | 214 def __getaddr(self, keyword, arg): 216 keylen = len(keyword) 217 if arg[:keylen].upper() == keyword:
|
H A D | tarfile.py | 1159 that contains a list of keyword, value pairs. The values 1163 for keyword, value in pax_headers.iteritems(): 1164 keyword = keyword.encode("utf8") 1166 l = len(keyword) + len(value) + 3 # ' ' + '=' + '\n' 1173 records.append("%d %s=%s\n" % (p, keyword, value)) 1379 # "%d %s=%s\n" % (length, keyword, value). length is the size 1381 # the newline. keyword and value are both UTF-8 encoded strings. 1389 length, keyword = match.groups() 1393 keyword [all...] |
H A D | cgitb.py | 25 import keyword namespace 86 if ttype == tokenize.NAME and token not in keyword.kwlist:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_py3kwarn.py | 66 ("nonlocal", "nonlocal is a keyword in 3.x")] 68 for keyword, expected in tests: 69 safe_exec("{0} = False".format(keyword)) 73 safe_exec("obj.{0} = True".format(keyword)) 78 safe_exec("def {0}(): pass".format(keyword)) 81 safe_exec("class {0}: pass".format(keyword)) 84 safe_exec("def f({0}=43): pass".format(keyword))
|
H A D | test_sundry.py | 58 import keyword namespace
|
H A D | test_pydoc.py | 8 import keyword namespace 393 sorted(keyword.kwlist))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_py3kwarn.py | 66 ("nonlocal", "nonlocal is a keyword in 3.x")] 68 for keyword, expected in tests: 69 safe_exec("{0} = False".format(keyword)) 73 safe_exec("obj.{0} = True".format(keyword)) 78 safe_exec("def {0}(): pass".format(keyword)) 81 safe_exec("class {0}: pass".format(keyword)) 84 safe_exec("def f({0}=43): pass".format(keyword))
|
H A D | test_sundry.py | 58 import keyword namespace
|
H A D | test_pydoc.py | 8 import keyword namespace 393 sorted(keyword.kwlist))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
H A D | aepack.py | 142 keyword, item = desc.AEGetNthDesc(i+1, '****') 148 keyword, item = desc.AEGetNthDesc(i+1, '****') 149 d[keyword] = unpack(item, formodulename) 303 def mkkeyword(keyword): 304 return aetypes.Keyword(keyword)
|
H A D | aetypes.py | 128 """An AE 4-char keyword object""" 130 def __init__(self, keyword): 131 self.keyword = "%-4.4s" % str(keyword) 134 return "Keyword(%r)" % repr(self.keyword) 137 return string.strip(self.keyword) 140 return pack(self.keyword, typeKeyword)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
H A D | HyperParser.py | 12 import keyword namespace 157 keyword.iskeyword(str[i:pos])):
|
H A D | ColorDelegator.py | 3 import keyword namespace 16 kw = r"\b" + any("KEYWORD", keyword.kwlist) + r"\b" 68 "KEYWORD": idleConf.GetHighlight(theme, "keyword"),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
H A D | HyperParser.py | 12 import keyword namespace 157 keyword.iskeyword(str[i:pos])):
|
H A D | ColorDelegator.py | 3 import keyword namespace 16 kw = r"\b" + any("KEYWORD", keyword.kwlist) + r"\b" 68 "KEYWORD": idleConf.GetHighlight(theme, "keyword"),
|
/prebuilts/python/darwin-x86/2.7.5/bin/ |
H A D | smtpd.py | 214 def __getaddr(self, keyword, arg): 216 keylen = len(keyword) 217 if arg[:keylen].upper() == keyword:
|
/prebuilts/python/linux-x86/2.7.5/bin/ |
H A D | smtpd.py | 214 def __getaddr(self, keyword, arg): 216 keylen = len(keyword) 217 if arg[:keylen].upper() == keyword:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
H A D | fixer_util.py | 17 def KeywordArg(keyword, value): 19 [keyword, Leaf(token.EQUAL, u"="), value])
|