def _process_text_args(override, fontdict=None, **kwargs):
 if (fontdict is not None):
  override.update(fontdict)
 override.update(kwargs)
 return override

def _process_text_args ( override , fontdict = None , ** kwargs ) : if ( fontdict is not None ) : override . update ( fontdict ) override . update ( kwargs ) return override
return an override dict .