parameters: (self, *args, **kwargs)
docstring: Initiate Extension and set up configs.
docstring_summary: Initiate Extension and set up configs.
docstring_tokens: Initiate Extension and set up configs .
function: def __init__(self, *args, **kwargs):
          """ Initiate Extension and set up configs. """
  
          # check for configs arg for backward compat.
          # (there only ever used to be one so we use arg[0])
          if len(args):
              if args[0] is not None:
                  self.setConfigs(args[0])
              warnings.warn('Extension classes accepting positional args is '
                            'pending Deprecation. Each setting should be '
                            'passed into the Class as a keyword. Positional '
                            'args are deprecated and will raise '
                            'an error in version 2.7. See the Release Notes for '
                            'Python-Markdown version 2.6 for more info.',
                            DeprecationWarning)
          # check for configs kwarg for backward compat.
          if 'configs' in kwargs.keys():
              if kwargs['configs'] is not None:
                  self.setConfigs(kwargs.pop('configs', {}))
              warnings.warn('Extension classes accepting a dict on the single '
                            'keyword "config" is pending Deprecation. Each '
                            'setting should be passed into the Class as a '
                            'keyword directly. The "config" keyword is '
                            'deprecated and raise an error in '
                            'version 2.7. See the Release Notes for '
                            'Python-Markdown version 2.6 for more info.',
                            DeprecationWarning)
          # finally, use kwargs
          self.setConfigs(kwargs)
function_tokens: def __init__ ( self , * args , * * kwargs ) : # check for configs arg for backward compat. # (there only ever used to be one so we use arg[0]) if len ( args ) : if args [ 0 ] is not None : self . setConfigs ( args [ 0 ] ) warnings . warn ( 'Extension classes accepting positional args is ' 'pending Deprecation. Each setting should be ' 'passed into the Class as a keyword. Positional ' 'args are deprecated and will raise ' 'an error in version 2.7. See the Release Notes for ' 'Python-Markdown version 2.6 for more info.' , DeprecationWarning ) # check for configs kwarg for backward compat. if 'configs' in kwargs . keys ( ) : if kwargs [ 'configs' ] is not None : self . setConfigs ( kwargs . pop ( 'configs' , { } ) ) warnings . warn ( 'Extension classes accepting a dict on the single ' 'keyword "config" is pending Deprecation. Each ' 'setting should be passed into the Class as a ' 'keyword directly. The "config" keyword is ' 'deprecated and raise an error in ' 'version 2.7. See the Release Notes for ' 'Python-Markdown version 2.6 for more info.' , DeprecationWarning ) # finally, use kwargs self . setConfigs ( kwargs )