Searched refs:isprintable (Results 1 – 10 of 10) sorted by relevance
63 if ''.join(text.split()).isprintable():
233 yield char if char.isprintable() else fr'\x{byte:02x}'
761 self.assertTrue("".isprintable())762 self.assertTrue(" ".isprintable())763 self.assertTrue("abcdefg".isprintable())764 self.assertFalse("abcdefg\n".isprintable())766 self.assertTrue("\u0374".isprintable())768 self.assertFalse("\u0378".isprintable())770 self.assertFalse("\ud800".isprintable())772 self.assertTrue('\U0001F46F'.isprintable())773 self.assertFalse('\U000E0020'.isprintable())
1475 def isprintable(self): member in UserString1476 return self.data.isprintable()
205 casefold(), format_map(), isprintable(), and maketrans(). Patch by Joe
1094 if c == "\\" or not c.isprintable():
1391 ``format_map``, ``isprintable``, and ``maketrans``.
1785 .. method:: str.isprintable()
932 :meth:`~str.format_map`, :meth:`~str.isprintable`, and :meth:`~str.maketrans`
15102 - Issue #5126: str.isprintable() returned False for space characters.16551 - Issue #3282: str.isprintable() should return False for undefined