Next / Previous / Contents / NM Tech homepage

5.2. The Nation class

An instance of this class represents one nation.

.nation_code

National code, e.g., “USA”.

.nation_name

Full name of the nation, e.g., “United States of America”.

.regions

An iterator that produces all the Region instances in this nation, in ascending order by region code.