Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def gtts_version() -> tuple:
try:
return tuple(int(x) for x in gtts.__version__.split('.'))
except (TypeError, ValueError):
return 0, 0, 0