10000 Added improved comments. · python/cpython@c67eecf · GitHub
[go: up one dir, main page]

Skip to content

Commit c67eecf

Browse files
committed
Added improved comments.
1 parent 3f4f917 commit c67eecf

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Lib/lib-stdwin/stdwinevents.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
# Values for type:
1111

1212
WE_NULL = 0 # not reported -- means 'no event' internally
13-
WE_ACTIVATE = 1 # detail is <no object>
13+
WE_ACTIVATE = 1 # detail is None
1414
WE_CHAR = 2 # detail is the character
1515
WE_COMMAND = 3 # detail is one of the WC_* constants below
1616
WE_MOUSE_DOWN = 4 # detail is ((h, v), clicks, button, mask)
1717
WE_MOUSE_MOVE = 5 # ditto
1818
WE_MOUSE_UP = 6 # ditto
1919
WE_MENU = 7 # detail is (menu, item)
20-
WE_SIZE = 8 # detail is (width, height) [???]
20+
WE_SIZE = 8 # detail is (width, height)
2121
WE_MOVE = 9 # not reported -- reserved for future use
2222
WE_DRAW = 10 # detail is ((left, top), (right, bottom))
23-
WE_TIMER = 11 # detail is <no object>
24-
WE_DEACTIVATE = 12 # detail is <no object>
25-
WE_EXTERN = 13 # detail is <no object>
23+
WE_TIMER = 11 # detail is None
24+
WE_DEACTIVATE = 12 # detail is None
25+
WE_EXTERN = 13 # detail is None
2626
WE_KEY = 14 # detail is ???
2727
WE_LOST_SEL = 15 # detail is selection number
28-
WE_CLOSE = 16 # detail is <no object>
28+
WE_CLOSE = 16 # detail is None
2929

3030
# Values for detail when type is WE_COMMAND:
3131

32-
WC_CLOSE = 1 # user hit close box
32+
WC_CLOSE = 1 # obsolete; now reported as WE_CLOSE
3333
WC_LEFT = 2 # left arrow key
3434
WC_RIGHT = 3 # right arrow key
3535
WC_UP = 4 # up arrow key

Lib/stdwin/stdwinevents.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
# Values for type:
1111

1212
WE_NULL = 0 # not reported -- means 'no event' internally
13-
WE_ACTIVATE = 1 # detail is <no object>
13+
WE_ACTIVATE = 1 # detail is None
1414
WE_CHAR = 2 # detail is the character
1515
WE_COMMAND = 3 # detail is one of the WC_* constants below
1616
WE_MOUSE_DOWN = 4 # detail is ((h, v), clicks, button, mask)
1717
WE_MOUSE_MOVE = 5 # ditto
1818
WE_MOUSE_UP = 6 # ditto
1919
WE_MENU = 7 # detail is (menu, item)
20-
WE_SIZE = 8 # detail is (width, height) [???]
20+
WE_SIZE = 8 # detail is (width, height)
2121
WE_MOVE = 9 # not reported -- reserved for future use
2222
WE_DRAW = 10 # detail is ((left, top), (right, bottom))
23-
WE_TIMER = 11 # detail is <no object>
24-
WE_DEACTIVATE = 12 # detail is <no object>
25-
WE_EXTERN = 13 # detail is <no object>
23+
WE_TIMER = 11 # detail is None
24+
WE_DEACTIVATE = 12 # detail is None
25+
WE_EXTERN = 13 # detail is None
2626
WE_KEY = 14 # detail is ???
2727
WE_LOST_SEL = 15 # detail is selection number
28-
WE_CLOSE = 16 # detail is <no object>
28+
WE_CLOSE = 16 # detail is None
2929

3030
# Values for detail when type is WE_COMMAND:
3131

32-
WC_CLOSE = 1 # user hit close box
32+
WC_CLOSE = 1 # obsolete; now reported as WE_CLOSE
3333
WC_LEFT = 2 # left arrow key
3434
WC_RIGHT = 3 # right arrow key
3535
WC_UP = 4 # up arrow key

0 commit comments

Comments
 (0)
0