def generatePalindromes(self, s):
        cnt = collections.Counter(s)
        mid = ''.join(k for k, v in cnt.iteritems() if v % 2)
        chars = ''.join(k * (v / 2) for k, v in cnt.iteritems())
        return self.permuteUnique(mid, chars) if len(mid) < 2 else []
Reassert control of tty.  Closing stdin, stderr, and and stdout
dataset/ETHPy150Open kamyu104/LeetCode/Python/palindrome-permutation-ii.py/Solution.generatePalindromes--crossover with--dataset/ETHPy150Open sassoftware/conary/conary/lib/logger.py/Logger.close