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 |
|
Andrew Murray
|
2cfe4ad989
|
Fixed typos
|
2017-02-26 14:15:49 +11:00 |
|
Metallicow
|
576cf1d966
|
Trim Whitespace tools directory
|
2016-10-12 22:15:25 -05:00 |
|
Robin Dunn
|
bcbdcd9631
|
Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-02-11 03:35:32 +00:00 |
|
Robin Dunn
|
fbda4deb28
|
Fix some "wxPython" package names --> "wx" in comments, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-10 05:39:16 +00:00 |
|
Robin Dunn
|
9f24505715
|
Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11
Mostly phoenix-port changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-07-10 01:15:34 +00:00 |
|
Robin Dunn
|
247673201b
|
Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-07-13 01:36:07 +00:00 |
|