File: __init__.py

package info (click to toggle)
python-pgspecial 1.11.10%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 352 kB
  • sloc: python: 3,143; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
__all__ = []
__version__ = '1.11.10'


def export(defn):
    """Decorator to explicitly mark functions that are exposed in a lib."""
    globals()[defn.__name__] = defn
    __all__.append(defn.__name__)
    return defn

from . import dbcommands
from . import iocommands