Python 3 | A foolproof way to detect mutability #python #programming #codinglife #python3

preview_player
Показать описание
A neat way to use the id() function to tell if an object is mutable or not.
Рекомендации по теме
Комментарии
Автор

I never thought about doing it this way. Very cool to see! :)

Whatthetrash
join shbcf.ru