- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Python dict.fromkeys gives everyone the same list #pythonweirdestlogic
Using dict.fromkeys with a mutable default creates a dictionary where every key points to the exact same list object. Adding 'admin' to Alice gives Bob and Carol admin too. The list is created once and shared, not copied for each key.
Видео Python dict.fromkeys gives everyone the same list #pythonweirdestlogic канала Python Peak
Видео Python dict.fromkeys gives everyone the same list #pythonweirdestlogic канала Python Peak
python coding python dict gotcha python dictionary creation python fromkeys trap python gotcha python hidden feature python mind blown python mutable default python programming python shared reference python shorts python tips python trick python unexpected python weird behavior python weirdest logic python wtf
Комментарии отсутствуют
Информация о видео
16 февраля 2026 г. 19:11:02
00:00:19
Другие видео канала




















