未知
best-before的Python项目详细描述
版权所有(c)2014,Friedrich Paetzke(paetzke@fastmail.fm) 保留所有权利。
用到期日期装饰python函数。
例如:
frombest_beforeimportbest_before@best_before('2014-06-06')defmy_func():pass
如果在2014-06-06之后运行此代码,它将爆炸-或者抛出一个异常。
要安装best-before,请使用pip安装。
$ pip install best-before