Search code examples
What is the difference between __str__ and __repr__?...

pythonmagic-methodsrepr

Read More
How to get legacy NumPy repr in Sphinx docs examples?...

pythonpytestpython-sphinxreprnumpy-2.x

Read More
In Python, what does '<function at ...>' mean?...

pythonfunctionrepr

Read More
Possibility to implement multiple repr strategies?...

pythonrepr

Read More
implementing __repr__ on a class, if try to add function members, get "RecursionError: maximum ...

pythonrecursionrepr

Read More
What does !r do in str() and repr()?...

pythonstringformattingrepr

Read More
_repr_html_ not showing when custom __getattr__ implemented...

pythonvisual-studio-codeipythongetattrrepr

Read More
Accessing Object Memory Address...

pythonobjectmemory-addressrepr

Read More
What is C# alternative to toString() [java] / __str__ [python]?...

c#tostringrepr

Read More
How to get string name for QEvent in PyQt5...

enumspyqtpyqt5pyside2repr

Read More
Iterate over PyQt enums and get string representation...

pythonenumspyqtpysiderepr

Read More
How to use __repr__ to create new object from it?...

pythonrepr

Read More
Why do backslashes appear twice?...

pythonstringescapingbackslashrepr

Read More
Python __repr__ for all member variables...

pythonstring-formattingrepr

Read More
Can a dataclass field format its value for the repr?...

pythonpython-dataclassesrepr

Read More
Can you return a __str__ representation of an object within the __repr__ method at recursion level 1...

pythonstringooprecursionrepr

Read More
What are the best practices for __repr__ with collection class Python?...

pythonrepr

Read More
Why can __repr__ function use repr() in itself when defining a class?(Python)...

pythonrepr

Read More
Bad string representation of negative imaginary numbers in Python...

pythonstringcomplex-numbersrepr

Read More
Correct way of updating __repr__ in Python using dataclasses and inheritance...

pythonoopinheritancepython-dataclassesrepr

Read More
How to partially overwrite __repr__ for a class in python?...

pythonpython-3.xooprepr

Read More
Reverse repr function in Python...

pythonrepr

Read More
RecursionError when inheriting from float and using str and repr...

pythonstringinheritancereprrecursionerror

Read More
When did CPython's `repr` start handling recursive data structures?...

pythoncpythonrecursive-datastructuresrepr

Read More
Get a string when running an object class through str.replace(obj_cls, "new string")...

pythonpython-2.7objectreprobject-class

Read More
Exclude default fields from python `dataclass` `__repr__`...

pythonpython-dataclassesrepr

Read More
Equality test failing for eval(repr(object)) in python3...

pythonunit-testingpython-3.xevalrepr

Read More
How to print a list containing custom objects from a class?...

pythonlistclassprintingrepr

Read More
Python's BeautifulTable modifies output...

pythonstringoutputreprpython-beautifultable

Read More
Why doesn't this __repr__ function return a string?...

pythonrepr

Read More
BackNext