| Name |
Last commit
|
Last Update |
|---|---|---|
| .github | ||
| pybind11_abseil | ||
| scripts | ||
| LICENSE | ||
| README.md | ||
| WORKSPACE | ||
| requirements.txt |
Before this change, `__repr__` is identical to `__str__`. There are countless articles on the web explaining the expected difference, for example: * https://www.tutorialspoint.com/str-vs-repr-in-python Quoting "Key differences": * str(): Make object readable; Generate output to end user * repr(): Required code that reproduces object; Generate output for developer "Required code that reproduces object" is impractical for `Status`, mainly because there is not good way to concisely include the payload, but even just the `.message()` can potentially be very long. Therefore it is best to simply use the default `__repr__`, as is the case for the vast majority of types of significant complexity. PiperOrigin-RevId: 476406024
| Name |
Last commit
|
Last Update |
|---|---|---|
| .github | Loading commit data... | |
| pybind11_abseil | Loading commit data... | |
| scripts | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| WORKSPACE | Loading commit data... | |
| requirements.txt | Loading commit data... |