class_docstr: A callable for parsing and resolving CSS to atomic properties
  
      
code: def _side_expander(prop_fmt):
      def expand(self, prop, value):
          tokens = value.split()
          try:
              mapping = self.SIDE_SHORTHANDS[len(tokens)]
          except KeyError:
              warnings.warn(
                  'Could not expand "{prop}: {val}"'.format(
                      prop=prop, val=value
                  ),
                  CSSWarning,
              )
              return
          for key, idx in zip(self.SIDES, mapping):
              yield prop_fmt.format(key), tokens[idx]
  
      return expand
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/css.py
imports: import re
  import warnings
label_desc: Use image node_id 4 for calling the CSSResolver obj's underlying member method code with example usage: obj._side_expander(prop_fmt) and returns: expand