Python pytz.tzinfo.BaseTzInfo() Examples
The following are 1
code examples of pytz.tzinfo.BaseTzInfo().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
pytz.tzinfo
, or try the search function
.
Example #1
Source File: tools.py From rssant with BSD 3-Clause "New" or "Revised" License | 5 votes |
def _is_pytz(x): if BaseTzInfo is None: return False return isinstance(x, BaseTzInfo)