Home
last modified time | relevance | path

Searched refs:myreplace (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dmultibytecodec_support.py111 def myreplace(exc): function
113 codecs.register_error("test.cjktest", myreplace)
118 def myreplace(exc): function
120 codecs.register_error("test.cjktest", myreplace)
127 def myreplace(exc): function
129 codecs.register_error("test.cjktest", myreplace)
133 def myreplace(exc): function
135 codecs.register_error("test.cjktest", myreplace)
140 def myreplace(exc): function
142 codecs.register_error("test.cjktest", myreplace)
[all …]
Dtest_multibytecodec.py42 myreplace = lambda exc: ('', sys.maxsize+1) function
43 codecs.register_error('test.cjktest', myreplace)
/external/python/cpython2/Lib/test/
Dmultibytecodec_support.py104 def myreplace(exc): function
106 codecs.register_error("test.cjktest", myreplace)
113 def myreplace(exc): function
115 codecs.register_error("test.cjktest", myreplace)
119 def myreplace(exc): function
121 codecs.register_error("test.cjktest", myreplace)
126 def myreplace(exc): function
128 codecs.register_error("test.cjktest", myreplace)
133 def myreplace(exc): function
134 if myreplace.limit > 0:
[all …]
Dtest_multibytecodec.py41 myreplace = lambda exc: (u'', sys.maxint+1) function
42 codecs.register_error('test.cjktest', myreplace)