Searched refs:isprintable (Results 1 – 9 of 9) sorted by relevance
169 yield char if char.isprintable() else fr'\x{byte:02x}'
731 self.assertTrue("".isprintable())732 self.assertTrue(" ".isprintable())733 self.assertTrue("abcdefg".isprintable())734 self.assertFalse("abcdefg\n".isprintable())736 self.assertTrue("\u0374".isprintable())738 self.assertFalse("\u0378".isprintable())740 self.assertFalse("\ud800".isprintable())742 self.assertTrue('\U0001F46F'.isprintable())743 self.assertFalse('\U000E0020'.isprintable())
1427 def isprintable(self): member in UserString1428 return self.data.isprintable()
205 casefold(), format_map(), isprintable(), and maketrans(). Patch by Joe
1088 if c == "\\" or not c.isprintable():
1270 ``format_map``, ``isprintable``, and ``maketrans``.
1751 .. 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