unicode_versions.py 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. """
  2. Exports function list_versions() for unicode version level support.
  3. This code generated by wcwidth/bin/update-tables.py on 2026-01-23 17:31:08 UTC.
  4. """
  5. from __future__ import annotations
  6. def list_versions() -> tuple[str, ...]:
  7. """
  8. Return Unicode version levels supported by this module release.
  9. Any of the version strings returned may be used as keyword argument
  10. ``unicode_version`` to the ``wcwidth()`` family of functions.
  11. :returns: Supported Unicode version numbers in ascending sorted order.
  12. """
  13. return (
  14. "4.1.0",
  15. "5.0.0",
  16. "5.1.0",
  17. "5.2.0",
  18. "6.0.0",
  19. "6.1.0",
  20. "6.2.0",
  21. "6.3.0",
  22. "7.0.0",
  23. "8.0.0",
  24. "9.0.0",
  25. "10.0.0",
  26. "11.0.0",
  27. "12.0.0",
  28. "12.1.0",
  29. "13.0.0",
  30. "14.0.0",
  31. "15.0.0",
  32. "15.1.0",
  33. "16.0.0",
  34. "17.0.0",
  35. )