Difference between revisions of "Python double under (dunder) methods"

From wikieduonline
Jump to navigation Jump to search
Line 26: Line 26:
 
== Activities ==
 
== Activities ==
 
* http://python-history.blogspot.com/2009/02/adding-support-for-user-defined-classes.html
 
* http://python-history.blogspot.com/2009/02/adding-support-for-user-defined-classes.html
* https://stackoverflow.com/questions/1436703/what-is-the-difference-between-str-and-repr
+
* [https://stackoverflow.com/questions/1436703/what-is-the-difference-between-str-and-repr What is the difference between __str__ and __repr__?]
  
 
== See also ==
 
== See also ==

Revision as of 10:32, 28 October 2022

Advertising: