File: _compat.py

package info (click to toggle)
python-kaptan 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: python: 542; sh: 7; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# -*- coding: utf8 -*-
# flake8: NOQA: F40
import sys

PY2 = sys.version_info[0] == 2


if PY2:
    import collections as collections_abc
else:
    import collections.abc as collections_abc