original_docstring: Process config and warn on each obsolete or deprecated entry.
docstring: Process config and warn on each obsolete or deprecated entry.
docstring_tokens: Process config and warn on each obsolete or deprecated entry .
code: def _compat(self, config):
          """Process config and warn on each obsolete or deprecated entry."""
          for section, conf in config.items():
              if isinstance(conf, dict):
                  for k, v in conf.items():
                      if k in self.obsolete:
                          warnings.warn("%r is obsolete. Use %r instead.\n"
                                        "section: [%s]" %
                                        (k, self.obsolete[k], section))
                      elif k in self.deprecated:
                          warnings.warn("%r is deprecated. Use %r instead.\n"
                                        "section: [%s]" %
                                        (k, self.deprecated[k], section))
              else:
                  if section in self.obsolete:
                      warnings.warn("%r is obsolete. Use %r instead."
                                    % (section, self.obsolete[section]))
                  elif section in self.deprecated:
                      warnings.warn("%r is deprecated. Use %r instead."
                                    % (section, self.deprecated[section]))
code_tokens: def _compat ( self , config ) : for section , conf in config . items ( ) : if isinstance ( conf , dict ) : for k , v in conf . items ( ) : if k in self . obsolete : warnings . warn ( "%r is obsolete. Use %r instead.\n" "section: [%s]" % ( k , self . obsolete [ k ] , section ) ) elif k in self . deprecated : warnings . warn ( "%r is deprecated. Use %r instead.\n" "section: [%s]" % ( k , self . deprecated [ k ] , section ) ) else : if section in self . obsolete : warnings . warn ( "%r is obsolete. Use %r instead." % ( section , self . obsolete [ section ] ) ) elif section in self . deprecated : warnings . warn ( "%r is deprecated. Use %r instead." % ( section , self . deprecated [ section ] ) )
short_docstring: Process config and warn on each obsolete or deprecated entry.
short_docstring_tokens: Process config and warn on each obsolete or deprecated entry .
comment: """Process config and warn on each obsolete or deprecated entry."""