Class Attribute Error Makes Them Laugh
instance has no attribute chain in the code class chainlist: def __init__(self): self.chain = [6,7] self.create_block(proof=1) blockchain = chainlist() print(chainlist.chain) error Traceback (most recent call last): File "main.py", line 11, in print(chainlist.chain) AttributeError: class chainlist has no attribute 'chain'
A Stack Overflow question shows a Python class with an incorrectly accessed attribute, followed by a reaction image of Leonardo DiCaprio and Jonah Hill laughing hysterically. The joke is that the simple programming mistake is treated as extremely funny, making it useful as a reaction to buggy code or a ridiculous technical question. EN: A Stack Overflow question shows a Python class with an incorrectly accessed attribute, followed by a reaction image of Leonardo DiCaprio and Jonah Hill laughing hysterically. The joke is that the simple programming mistake is treated as extremely funny, making it useful as a reaction to buggy code or a ridiculous technical question.
Stack Overflow webpage / веб-страница Stack OverflowPython code / код Pythoncomputer screen / экран компьютераprogramming error / ошибка программированияtext editor / текстовый редакторweb browser / веб-браузерman in a black suit / мужчина в чёрном костюмеman in a white suit / мужчина в белом костюмеlaughing man / смеющийся мужчинаrestaurant or nightclub / ресторан или ночной клубwine bottle / бутылка винаformal tie / галстук
- @profunctor_io / 754 2018-04-06
- Template
- The Wolf of Wall Street laughing reaction
- Type
- image
- Size
- 479×800 · 67.7 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added