+ 1
Please explain what is 'implemented' means
9 Antworten
+ 3
Okay, implementing something usually just means: Writing the actual code.
For example you have a description of what a function is supposed to do, and then actually writing the function so that it does its job means implementing it.
Now in Python you have magic methods that (mostly) define what certain operators do.
'Implementing __ne__' means writing the code for what happens when you use != with your type.
If you do not write the code for this operator, it is 'not implemented'.
+ 3
Implementing a method is like making/building a method by writing the steps of an algorithm in code so that it can be executed.
+ 1
HonFu how ?
0
Can you give us the context where it was used?
I'm asking because you've tagged 'magic-methods'.
0
Not clear
0
By using words! 😉
Just tell us more about what you didn't understand. Otherwise we can only look up the word for you in a dictionary and post it here, which would probably not help you.
0
--> if __ne__ is not implemented then it return opposite of __eq__
This was written ↑
0
Implementing means put something into effect. Consider that You have an description of the problem, You solving it by implementing it with any tools You want, such a writing code with programming languages or other software, that will help You get things done.