parameters: (*args, **kw)
docstring: Simple wrapper around codecs.open for easier testing/mocking
docstring_summary: Simple wrapper around codecs.open for easier testing/mocking
docstring_tokens: Simple wrapper around codecs . open for easier testing / mocking
function: def open_file(*args, **kw):
  	'Simple wrapper around codecs.open for easier testing/mocking'
  	if 'encoding' not in kw:
  		kw['encoding'] = 'utf8'
  	yield codecs.open(*args, **kw)
function_tokens: def open_file ( * args , * * kw ) : if 'encoding' not in kw : kw [ 'encoding' ] = 'utf8' yield codecs . open ( * args , * * kw )