File: _compat_shutil.py

package info (click to toggle)
python-parse-type 0.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: python: 5,273; sh: 9; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
# -*- coding: UTF-8 -*-
# pylint: disable=unused-import
# PYTHON VERSION COMPATIBILITY HELPER

try:
    from shutil import which    # -- SINCE: Python 3.3
except ImportError:
    from backports.shutil_which import which  # noqa: F401