wagnerrp / pytmdb3

Python interface to TheMovieDB.org v3 API
BSD 3-Clause "New" or "Revised" License
122 stars 36 forks source link

README: ReverseCrew and ReverseCast are not derived from Movie #38

Closed stv0g closed 10 years ago

stv0g commented 10 years ago

Probaply a copy and paste mistake

wagnerrp commented 10 years ago
class ReverseCast( Movie ):
    character = Datapoint('character')
    def __repr__(self):
        return (u"<{0.__class__.__name__} '{0.character}' on {1}>"
                .format(self, self._printable_name()).encode('utf-8'))
class ReverseCrew( Movie ):
    department = Datapoint('department')
    job = Datapoint('job')
    def __repr__(self):
        return (u"<{0.__class__.__name__} '{0.job}' for {1}>"
                .format(self, self._printable_name()).encode('utf-8'))

Yes they are.