class_docstr: A callable for parsing and resolving CSS to atomic properties
  
      
docstr: Generates (prop, value) pairs from declarations
  
  In a future version may generate parsed tokens from tinycss/tinycss2
docstr_tok: ["Generates","(","prop",",","value",")","pairs","from","declarations","In","a","future","version","may","generate","parsed","tokens","from","tinycss\/tinycss2"]
code: def parse(self, declarations_str):
      """Generates (prop, value) pairs from declarations
  
      In a future version may generate parsed tokens from tinycss/tinycss2
      """
      for decl in declarations_str.split(";"):
          if not decl.strip():
              continue
          prop, sep, val = decl.partition(":")
          prop = prop.strip().lower()
          # TODO: don't lowercase case sensitive parts of values (strings)
          val = val.strip().lower()
          if sep:
              yield prop, val
          else:
              warnings.warn(
                  "Ill-formatted attribute: expected a colon "
                  "in {decl!r}".format(decl=decl),
                  CSSWarning,
              )
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/css.py
imports: import re
  import warnings
label_desc: Use image node_id 5 for calling the CSSResolver obj's underlying member method code with example usage: obj.parse(declarations_str) without return types