Per A. Brodtkorb
|
033c18fd9f
|
Fixes issue #1556
Replaced XXX.keys() calls with idiomatic python 3 calls that are compatible with python 2 such as eg:
* replaced "y = xxx.keys()" or "y = list(xxx.keys())" with just "y = list(xxx)"
* replaced "sorted(xxx.keys())" or "sorted(list(xxx.keys()))" with just "sorted(xxx)"
* replaced "if not A in B.keys():" with "if A not in B:"
* replaced "for A in B.keys():" with "for A in B:"
See also https://python-future.org/compatible_idioms.html
https://python-future.org/compatible_idioms.html#dict-keys-values-items-as-a-list
|
2020-03-20 18:51:19 +01:00 |
|
Robin Dunn
|
b680b7f16e
|
More color name fixes
|
2020-02-27 14:33:23 -08:00 |
|
Metallicow
|
01f8f09f60
|
Trim trailing space samples directory
|
2016-12-05 16:34:47 -06:00 |
|
Robin Dunn
|
784673e690
|
PR 44 (modified): fixes print statements/functions in samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-15 08:13:12 +00:00 |
|
Robin Dunn
|
9ad818a4a7
|
turn off execute property, ensure native eol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-04-30 05:31:31 +00:00 |
|
Robin Dunn
|
7bc7aaf7f8
|
Floatcanvas samples updates for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-04-30 05:19:51 +00:00 |
|
Robin Dunn
|
c7cd5d5fe9
|
Add the FloatCanvas demo modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-04-26 07:04:14 +00:00 |
|