unicode_versions.py 887 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. """
  2. Exports function list_versions() for unicode version level support.
  3. This code generated by wcwidth/bin/update-tables.py on 2025-09-15 16:57:50 UTC.
  4. """
  5. def list_versions():
  6. """
  7. Return Unicode version levels supported by this module release.
  8. Any of the version strings returned may be used as keyword argument
  9. ``unicode_version`` to the ``wcwidth()`` family of functions.
  10. :returns: Supported Unicode version numbers in ascending sorted order.
  11. :rtype: list[str]
  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. )