Skip to content

Lesson 7#7

Open
ReshetnyakAM wants to merge 8 commits intomasterfrom
Lesson-7
Open

Lesson 7#7
ReshetnyakAM wants to merge 8 commits intomasterfrom
Lesson-7

Conversation

@ReshetnyakAM
Copy link
Copy Markdown
Owner

No description provided.

Comment thread hw07_easy_ReshetnyakAM.py


# До переопределения метода __str__() вывод объекта на печать выдавал нечто подобное: <__main__.Power2 object at 0x03712DB0>
# после переопределения, преобразование объекта в строy = MyList([0,1,2,3,4,5,6,7,8,9,10])ку стало происходить по нашим правилам
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

т.е. до переопределения мы получаем ссылку на объект

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants