Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/email/test/
Dtest_email.py89 eq(msg.get_charset(), None)
97 eq(msg.get_charset().input_charset, 'iso-8859-1')
100 eq(msg.get_charset(), None)
116 eq(msg.get_charset().input_charset, 'us-ascii')
123 self.assertEqual(msg.get_charset().input_charset, 'iso-8859-1')
1092 eq(msg.get_charset().input_charset, 'us-ascii')
1098 eq(msg.get_charset().input_charset, 'us-ascii')
1104 eq(msg.get_charset(), 'us-ascii')
1112 eq(msg.get_charset().output_charset, 'utf-8')
Dtest_email_renamed.py84 eq(msg.get_charset(), None)
92 eq(msg.get_charset().input_charset, 'iso-8859-1')
95 eq(msg.get_charset(), None)
111 eq(msg.get_charset().input_charset, 'us-ascii')
118 self.assertEqual(msg.get_charset().input_charset, 'iso-8859-1')
1052 eq(msg.get_charset().input_charset, 'us-ascii')
/external/python/cpython2/Lib/email/
Dmessage.py273 def get_charset(self): member in Message
/external/python/cpython2/Doc/library/
Demail.message.rst164 .. method:: get_charset()
514 Note that this method differs from :meth:`get_charset` which returns the