Home | History | Annotate | Download | only in python2.7

Lines Matching defs:string

112   DateTime       dateTime wrapper for an ISO 8601 string or time tuple or
139 import re, string, time, operator
169 # decode non-ascii string (if possible)
174 def escape(s, replace=string.replace):
180 def _stringify(string):
183 return string.encode("ascii")
185 return string
187 def _stringify(string):
188 return string
263 # a fault string. This exception can also used as a class, to
267 # @param faultString The XML-RPC fault string.
353 # The value can be given as a string in the format
359 # @param value The time, given as an ISO 8601 string, a time
377 """DateTime wrapper for an ISO 8601 string or time tuple or
443 # @return Date/time value, as an ISO 8601 string.
453 self.value = string.strip(data)
474 # @param data An 8-bit string containing arbitrary data.
491 # @return Buffer contents, as an 8-bit string.
635 result = string.join(out, "")
649 # (e.g. a string sub-class)
693 write("<value><string>")
695 write("</string></value>\n")
701 write("<value><string>")
703 write("</string></value>\n")
733 raise TypeError, "dictionary key must be string"
816 def end(self, tag, join=string.join):
874 dispatch["string"] = end_string
912 # elements, treat it as a string element
1044 # @return A string containing marshalled data.
1114 return string.join(data, "")
1120 # @param data An XML-RPC packet, given as an 8-bit string.
1140 # Encode a string using the gzip content encoding such as specified by the
1163 # Decode a string using the gzip content encoding such as specified by the
1326 # Host may be a string, or a (host, x509-dict) tuple; if a string,
1346 auth = string.join(string.split(auth), "") # get rid of whitespace
1487 # host may be a string, or a (host, x509-dict) tuple