Home
last modified time | relevance | path

Searched refs:unicode_type (Results 1 – 25 of 244) sorted by path

12345678910

/dports/audio/carla/Carla-2.4.1/source/frontend/modgui/
H A Dwebserver.py47 from tornado.util import unicode_type
83 if isinstance(data, (bytes, unicode_type, dict)):
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/python-subunit-0.0.16/python/subunit/
H A D__init__.py1307 unicode_type = str
1309 unicode_type = unicode
1312 if type(stream.read(0)) is unicode_type:
/dports/databases/pymongo/pymongo-3.12.0/test/
H A Dunified_format.py361 unicode_type = unicode variable
365 unicode_type = str variable
383 'javascript': (unicode_type, Code),
384 'symbol': (unicode_type,),
385 'javascriptWithScope': (unicode_type, Code),
539 (isinstance(expectation, unicode_type) and not PY3)):
/dports/deskutils/calibre/calibre-src-5.34.0/setup/
H A Dparallel_build.py15 from polyglot.builtins import unicode_type, as_bytes
30 return False, human_text, unicode_type(err)
H A Dtranslations.py851 unicode_type = type(u'')
855 two = unicode_type(two)
858 threeb = unicode_type(threeb)
863 name = unicode_type(name)
914 unicode_type = type(u'')
918 two = unicode_type(two)
922 name_map[two] = unicode_type(name_map[two])
925 three_map[unicode_type(three)] = two
/dports/deskutils/calibre/calibre-src-5.34.0/src/css_selectors/
H A Dparser.py18 from polyglot.builtins import unicode_type, codepoint_to_chr
28 return string.translate(utab if isinstance(string, unicode_type) else tab)
472 pseudo_element = unicode_type(ident)
/dports/deskutils/calibre/calibre-src-5.34.0/src/odf/
H A Dattrconverters.py58 return unicode_type(arg)
65 return unicode_type(arg)
71 return unicode_type(arg)
80 return unicode_type(arg)
87 return unicode_type(arg)
91 return unicode_type(arg)
95 return unicode_type(arg)
103 return unicode_type(arg)
127 return unicode_type(arg)
131 return unicode_type(arg)
[all …]
H A Deasyliststyle.py26 from polyglot.builtins import unicode_type
97 llp.setAttribute('spacebefore', unicode_type(cssLengthNum * (i+1)) + cssLengthUnits)
98 llp.setAttribute('minlabelwidth', unicode_type(cssLengthNum) + cssLengthUnits)
H A Delement.py32 from polyglot.builtins import unicode_type
88 return nsdict.setdefault(namespace,"ns" + unicode_type(len(nsdict)))
476 f.write(' xmlns:' + prefix + '="'+ _escape(unicode_type(namespace))+'"')
479 …f.write(' '+_escape(unicode_type(prefix+':'+qname[1]))+'='+_quoteattr(type(u'')(self.attributes[qn…
490 f.write(' xmlns:' + prefix + '="'+ _escape(unicode_type(namespace))+'"')
493 …f.write(' '+_escape(unicode_type(prefix+':'+qname[1]))+'='+_quoteattr(type(u'')(self.attributes[qn…
H A Dodf2moinmoin.py27 from polyglot.builtins import unicode_type
101 return "[italic=%s, bold=i%s, fixed=%s]" % (unicode_type(self.italic),
102 unicode_type(self.bold),
103 unicode_type(self.fixed))
132 return "[bq=%s, h=%d, code=%s]" % (unicode_type(self.blockquote),
134 unicode_type(self.code))
405 number = unicode_type(i)
H A Dodf2xhtml.py34 from polyglot.builtins import unicode_type
1336 attrs = {'start': unicode_type(self.list_number_map[number_class])}
H A Dopendocument.py32 from polyglot.builtins import unicode_type
388 zi = zipfile.ZipInfo(unicode_type(arcname), self._now)
/dports/deskutils/calibre/calibre-src-5.34.0/src/polyglot/
H A Dbinary.py9 from polyglot.builtins import unicode_type
13 if isinstance(x, unicode_type):
19 if isinstance(x, unicode_type):
25 if isinstance(x, unicode_type):
31 if isinstance(x, unicode_type):
37 if isinstance(x, unicode_type):
43 if isinstance(x, unicode_type):
49 if isinstance(x, unicode_type):
55 if isinstance(x, unicode_type):
H A Dbuiltins.py18 if isinstance(x, unicode_type):
26 ans = unicode_type(x)
27 if isinstance(ans, unicode_type):
35 return unicode_type(x)
42 if isinstance(x, unicode_type):
75 unicode_type = str variable
86 if args and isinstance(args[0], unicode_type):
88 return unicode_type(exc)
/dports/deskutils/calibre/calibre-src-5.34.0/src/templite/
H A D__init__.py30 from polyglot.builtins import unicode_type
89 self.__output.append(unicode_type(a))
/dports/deskutils/py-vobject/vobject-0.9.6.1/docs/build/lib/vobject/
H A Dbase.py39 unicode_type = str variable
41 unicode_type = unicode # noqa
50 if isinstance(value, unicode_type):
961 if str is unicode_type:
/dports/deskutils/py-vobject/vobject-0.9.6.1/vobject/
H A Dbase.py40 unicode_type = str variable
42 unicode_type = unicode # noqa
51 if isinstance(value, unicode_type):
975 if str is unicode_type:
/dports/devel/ipython5/ipython-5.10.0/IPython/core/
H A Ddisplay.py23 unicode_type)
616 self.filename = None if filename is None else unicode_type(filename)
1033 self.format = unicode_type(format).lower()
1110 return unicode_type(s.split('.')[-1].lower())
1194 if isinstance(video, unicode_type):
H A Dformatters.py32 with_metaclass, string_types, unicode_type,
767 _return_type = (bytes, unicode_type)
785 _return_type = (bytes, unicode_type)
876 _return_type = (bytes, unicode_type)
H A Dinteractiveshell.py72 from IPython.utils.py3compat import (builtin_mod, unicode_type, string_types,
2369 u'ename' : unicode_type(etype.__name__),
H A Dprompts.py23 return py3compat.unicode_type(self())
/dports/devel/ipython5/ipython-5.10.0/IPython/core/magics/
H A Dbasic.py17 from IPython.utils.py3compat import unicode_type
557 'filename', type=unicode_type,
H A Dnamespace.py29 from IPython.utils.py3compat import unicode_type
464 vstr = unicode_type(var).encode(DEFAULT_ENCODING,
H A Dosm.py39 from IPython.utils.py3compat import unicode_type
768 'filename', type=unicode_type,
/dports/devel/ipython5/ipython-5.10.0/IPython/core/tests/
H A Dtest_completer.py21 from IPython.utils.py3compat import string_types, unicode_type
105 check_line_split(sp, [ map(unicode_type, p) for p in t] )
126 for t in s + list(map(unicode_type, s)):

12345678910