@classmethod
    def char_filter(cls, s):
        import string

        wanted = string.letters + string.digits + string.punctuation
        return "".join(c for c in s if c in wanted and not c == '.')
dataset/ETHPy150Open disqus/porkchop/porkchop/util.py/PorkchopUtil.char_filter/original