MCPcopy Create free account
hub / github.com/McCloudS/subgen / __init__

Method __init__

language_code.py:110–115  ·  view source on GitHub ↗
(self, iso_639_1, iso_639_2_t, iso_639_2_b, name_en, name_native)

Source from the content-addressed store, hash-verified

108 # und for Undetermined aka unknown language https://www.loc.gov/standards/iso639-2/faq.html#25
109
110 def __init__(self, iso_639_1, iso_639_2_t, iso_639_2_b, name_en, name_native):
111 self.iso_639_1 = iso_639_1
112 self.iso_639_2_t = iso_639_2_t
113 self.iso_639_2_b = iso_639_2_b
114 self.name_en = name_en
115 self.name_native = name_native
116
117 @staticmethod
118 def from_iso_639_1(code):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected