Skip to content

Commit 428e6d9

Browse files
committed
Fixed table width for Mumbai
Changed to use Hindi name for Mumbai based on Google Translate instead of a Google search and the table width and underlying wide character width calculation appears to be working fine.
1 parent e9d4a36 commit 428e6d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/table_display.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ def two_dec(num: float) -> str:
5050

5151
# Population data from Wikipedia: https://en.wikipedia.org/wiki/List_of_cities_proper_by_population
5252

53-
5453
# ############ Table data formatted as an iterable of iterable fields ############
5554
EXAMPLE_ITERABLE_DATA = [['Shanghai (上海)', 'Shanghai', 'China', 'Asia', 24183300, 6340.5],
5655
['Beijing (北京市)', 'Hebei', 'China', 'Asia', 20794000, 1749.57],
5756
['Karachi (کراچی)', 'Sindh', 'Pakistan', 'Asia', 14910352, 615.58],
5857
['Shenzen (深圳市)', 'Guangdong', 'China', 'Asia', 13723000, 1493.32],
5958
['Guangzho (广州市)', 'Guangdong', 'China', 'Asia', 13081000, 1347.81],
60-
['Mumbai (बॉम्बे हिंदी)', 'Maharashtra', 'India', 'Asia', 12442373, 465.78],
59+
['Mumbai (मुंबई)', 'Maharashtra', 'India', 'Asia', 12442373, 465.78],
6160
['Istanbul (İstanbuld)', 'Istanbul', 'Turkey', 'Eurasia', 12661000, 620.29],
6261
]
6362

0 commit comments

Comments
 (0)