Програмиране с Python » Форуми » Общи въпроси

Проблем с __bases__

(2 posts)

  1. rebud
    Member

    Някой може ли да ми обясни това?

    >>> a
    <class '__main__.a'>
    >>> a.__bases__
    (<type 'object'>,)

    Posted 6 years ago #
  2. djv
    Member

    a наследява object.

    Posted 6 years ago #

RSS feed for this topic

Reply

You must log in to post.