code: def categories():
      """Return a tuple of Unicode categories in a normalised order.
  
      >>> categories() # doctest: +ELLIPSIS
      ('Zl', 'Zp', 'Co', 'Me', 'Pc', ..., 'Cc', 'Cs')
      """
      global _categories
      if _categories is None:
          cm = charmap()
          _categories = sorted(cm.keys(), key=lambda c: len(cm[c]))
          _categories.remove("Cc")  # Other, Control
          _categories.remove("Cs")  # Other, Surrogate
          _categories.append("Cc")
          _categories.append("Cs")
      return tuple(_categories)
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/charmap.py
imports: import codecs
  import gzip
  import json
  import os
  import sys
  import tempfile
  import unicodedata
  from functools import lru_cache
  from typing import Dict, Tuple
  from hypothesis.configuration import storage_directory
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.intervalsets import IntervalSet
label_desc: Use image node_id 4 for calling a global function with example usage: categories() and returns: tuple