docstr: Return sorted list of all package namespaces
docstr_tok: ["Return","sorted","list","of","all","package","namespaces"]
code: def _get_all_ns_packages(self):
      """Return sorted list of all package namespaces"""
      pkgs = self.distribution.namespace_packages or []
      return sorted(set(flatten(map(self._pkg_names, pkgs))))
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/namespaces.py
imports: import os
  from distutils import log
  import itertools
label_desc: Use image node_id 7 for calling the Installer obj's underlying member method code with example usage: obj._get_all_ns_packages() and returns: sorted