Sha256: b403d2cc3c233e26d664857d28c7e7808c65d997bd53217ec5340a976f5f9384
Contents?: true
Size: 322 Bytes
Versions: 42
Compression:
Stored size: 322 Bytes
Contents
# coding: utf-8 """ Support for Pygments tests """ import os def location(mod_name): """ Return the file and directory that the code for *mod_name* is in. """ source = mod_name.endswith("pyc") and mod_name[:-1] or mod_name source = os.path.abspath(source) return source, os.path.dirname(source)
Version data entries
42 entries across 42 versions & 5 rubygems