def fattr(*args, **kwargs):
	"""
	Returns a wrapper which takes a function as its only argument and sets the key/value pairs passed in with kwargs as attributes on that function. This can be used as a decorator.
	
	Example::
	
		>>> from philo.utils import fattr
		>>> @fattr(short_description="Hello World!")
		... def x():
		...     pass
		... 
		>>> x.short_description
		'Hello World!'
	
	"""
	def wrapper(function):
		for key in kwargs:
			setattr(function, key, kwargs[key])
		return function
	return wrapper