From 2fefb9176bcd6038b757c1115f1ae03a0464788f Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Mon, 1 Jul 2019 21:33:06 -0700 Subject: [PATCH] Fix documentation for Language.iso639 and iso3166 ISO 639 is the language code and ISO 3166 is the country code, not the other way around. --- pokedex/db/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index b05f9b3..779e149 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -90,10 +90,10 @@ class Language(TableBase): id = Column(Integer, primary_key=True, nullable=False, doc=u"A numeric ID") iso639 = Column(Unicode(79), nullable=False, - doc=u"The two-letter code of the country where this language is spoken. Note that it is not unique.", + doc=u"The two-letter code of the language. Note that it is not unique.", info=dict(format='identifier')) iso3166 = Column(Unicode(79), nullable=False, - doc=u"The two-letter code of the language. Note that it is not unique.", + doc=u"The two-letter code of the country where this language is spoken. Note that it is not unique.", info=dict(format='identifier')) identifier = Column(Unicode(79), nullable=False, doc=u"An identifier",