#๐ __getattr__ ignores property?
13 messages ยท Page 1 of 1 (latest)
@formal valve
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
you override __getattr__
and make it doesn't search for property
so therefore it ignores it
*This title should be __getattribute__ ignores property?
and the answer is no and there is a chance you forgot to save your file
since it show lower case p when your code is upper case
@formal valve
All this time, the problem was a single typo โ in the CFrame class instead of __init__. Sorry for wasting your time
Well, no, I still have fun time learning getattr and getattribute that somehow I didn't learn when I was doing some weird thing with python
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.