TheRenegadeCoder / subete

The Sample Programs API in Python
https://subete.therenegadecoder.com
MIT License
2 stars 2 forks source link

Fix Types of Sample Programs Method #21

Closed jrg94 closed 3 years ago

jrg94 commented 3 years ago

This is no longer valid:

    def sample_programs(self) -> List[SampleProgram]:
        """
        Retrieves the list of sample programs associated with this language.

        Assuming you have a LanguageCollection object called language, 
        here's how you would use this method::

            programs: List[SampleProgram] = language.sample_programs()

        :return: the list of sample programs
        """
        return self._sample_programs

Sample programs is a dict.