astral.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:astral 作者: sffjunkie 项目源码 文件源码
def timezone(self, name):
        if name not in pytz.all_timezones:
            raise ValueError('Timezone \'%s\' not recognized' % name)

        try:
            self._timezone_group, self._timezone_location = \
                name.split('/', 1)
        except ValueError:
            self._timezone_group = name
            self._timezone_location = ''
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号