1. Jason R. Coombs
  2. jaraco.compat

Source

jaraco.compat / py31compat / functools.py

1
2
3
4
5
try:
	from functools import lru_cache, update_wrapper, wraps
except ImportError:
	from .cache import lru_cache
	from ._functools_wraps import update_wrapper, wraps