python-memcached
python-memcached copied to clipboard
Client.set "time" allow timedelta parameter type
Maybe directly accepting datetime.timedelta variables as time parameter (see Client) could be great, in addition to the standard int or unix timestamp value.
It would only require to check the type of the variable, and get the delta.total_seconds() value.
Yeah it would be a great idea! Thanks for the PR