Searched refs:capitalize_initial (Results 1 – 3 of 3) sorted by relevance
31 self.assertEqual('', misc.capitalize_initial(''))32 self.assertEqual('A', misc.capitalize_initial('A'))33 self.assertEqual('Ab', misc.capitalize_initial('Ab'))34 self.assertEqual('AbC', misc.capitalize_initial('AbC'))35 self.assertEqual('A', misc.capitalize_initial('a'))36 self.assertEqual('Ab', misc.capitalize_initial('ab'))37 self.assertEqual('AbC', misc.capitalize_initial('abC'))
53 def capitalize_initial(s): function
72 pieces = tuple(misc.capitalize_initial(p) for p in pieces)