Searched refs:keyword (Results 1 - 25 of 50) sorted by relevance

12

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Drlcompleter.py103 import keyword namespace
106 for word in keyword.kwlist:
H A DBaseHTTPServer.py137 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 Dsmtpd.py214 def __getaddr(self, keyword, arg):
216 keylen = len(keyword)
217 if arg[:keylen].upper() == keyword:
H A Dtarfile.py1159 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 Dcgitb.py25 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 Drlcompleter.py103 import keyword namespace
106 for word in keyword.kwlist:
H A DBaseHTTPServer.py137 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 Dsmtpd.py214 def __getaddr(self, keyword, arg):
216 keylen = len(keyword)
217 if arg[:keylen].upper() == keyword:
H A Dtarfile.py1159 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 Dcgitb.py25 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 Dtest_py3kwarn.py66 ("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 Dtest_sundry.py58 import keyword namespace
H A Dtest_pydoc.py8 import keyword namespace
393 sorted(keyword.kwlist))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_py3kwarn.py66 ("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 Dtest_sundry.py58 import keyword namespace
H A Dtest_pydoc.py8 import keyword namespace
393 sorted(keyword.kwlist))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
H A Daepack.py142 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 Daetypes.py128 """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 DHyperParser.py12 import keyword namespace
157 keyword.iskeyword(str[i:pos])):
H A DColorDelegator.py3 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 DHyperParser.py12 import keyword namespace
157 keyword.iskeyword(str[i:pos])):
H A DColorDelegator.py3 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 Dsmtpd.py214 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 Dsmtpd.py214 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 Dfixer_util.py17 def KeywordArg(keyword, value):
19 [keyword, Leaf(token.EQUAL, u"="), value])

Completed in 2429 milliseconds

12