File: types.py

package info (click to toggle)
git-cola 4.18.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,036 kB
  • sloc: python: 40,107; sh: 298; makefile: 223; xml: 121; tcl: 62
file content (9 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from typing import Union

from .core import UStr
from .widgets.standard import Dialog, MainWindow, Widget


ConfigValue = Union[bool, str, int]
TextType = Union[str, UStr]
ViewType = Union[Dialog, MainWindow, Widget]