| Total Complexity | 0 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 2 | """ |
||
| 3 | wechatpy._compat |
||
| 4 | ~~~~~~~~~~~~~~~~~ |
||
| 5 | |||
| 6 | This module makes it easy for wechatpy to run on both Python 2 and 3. |
||
| 7 | |||
| 8 | :copyright: (c) 2014 by messense. |
||
| 9 | :license: MIT, see LICENSE for more details. |
||
| 10 | """ |
||
| 11 | from __future__ import absolute_import, unicode_literals |
||
| 12 | import sys # NOQA |
||
| 13 | import six # NOQA |
||
| 14 | import warnings |
||
| 15 | |||
| 16 | warnings.warn("Module `wechatpy._compat` is deprecated, will be removed in 2.0" |
||
| 17 | "use `wechatpy.utils` instead", |
||
| 18 | DeprecationWarning, stacklevel=2) |
||
| 19 | |||
| 20 | from wechatpy.utils import get_querystring # NOQA |
||
| 21 | from wechatpy.utils import json # NOQA |
||
| 22 |