mahmoud / boltons

🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
https://boltons.readthedocs.org
Other
6.5k stars 350 forks source link

Improving documentation of boltons.timeutils.daterange() #91

Open ajmazurie opened 7 years ago

ajmazurie commented 7 years ago

The documentation of the boltons.timeutils.daterange function only mention date objects as input, but I discovered that it works with datetime objects as well. Explicitly stating so would be great. Thanks!

crazymerlyn commented 5 years ago

Isn't datetime just a subclass of date? It's supposed to work anywhere a normal date would.