def __init__(self, fmt, encoding='utf-8'):
    "\n        Args:\n            fmt: any valid strptime format is supported\n            encoding: encoding to use on byte input (default: 'utf-8')\n        "
    super(bytespdate2num, self).__init__(fmt)
    self.encoding = encoding
Args:
    fmt: any valid strptime format is supported
    encoding: encoding to use on byte input (default: 'utf-8')
def __init__(self, fmt, encoding='utf-8'):
    "\n        Args:\n            fmt: any valid strptime format is supported\n            encoding: encoding to use on byte input (default: 'utf-8')\n        "
    super(bytespdate2num, self).__init__(fmt)
    self.encoding = encoding