Commits

Mike Orr committed 8b5392d

West Virginia was out of order.

Comments (0)

Files changed (1)

webhelpers/constants.py

 _country_codes = None
 def country_codes():
     """\
-    Returns a dictionary of all country names and their respective codes specified by the ISO in the format::
+    Return a list of all country names and their respective codes specified by the ISO in the format::
     
-        {
+        [
             ...
-            ['United Kingodom, 'GB'],
+            ['GB', 'United Kingodom],
             ...
-        }
+        ]
 
     See here for more information:
     http://www.iso.org/iso/english_country_names_and_code_elements
         ("UT", "Utah"),
         ("VT", "Vermont"),
         ("VA", "Virginia"),
+        ("WA", "Washington"),
         ("WV", "West Virginia"),
-        ("WA", "Washington"),
         ("WI", "Wisconsin"),
         ("WY", "Wyoming"),
         ]