added some missing constants

This commit is contained in:
Guido van Rossum 1995-08-04 03:51:48 +00:00
parent 35f67fb552
commit a22a70aaff
2 changed files with 36 additions and 0 deletions

View file

@ -52,6 +52,24 @@
HORIZONTAL='horizontal'
VERTICAL='vertical'
# -tabs
NUMERIC='numeric'
# -wrap
CHAR='char'
WORD='word'
# -align
BASELINE='baseline'
# Special tags, marks and insert positions
SEL='sel'
SEL_FIRST='sel.first'
SEL_LAST='sel.last'
END='end'
INSERT='insert'
CURRENT='current'
def _flatten(tuple):
res = ()
for item in tuple:

View file

@ -52,6 +52,24 @@
HORIZONTAL='horizontal'
VERTICAL='vertical'
# -tabs
NUMERIC='numeric'
# -wrap
CHAR='char'
WORD='word'
# -align
BASELINE='baseline'
# Special tags, marks and insert positions
SEL='sel'
SEL_FIRST='sel.first'
SEL_LAST='sel.last'
END='end'
INSERT='insert'
CURRENT='current'
def _flatten(tuple):
res = ()
for item in tuple: