Return a string representation of a value and its type for readable error messages.
(obj: Any)
| 174 | |
| 175 | |
| 176 | def repr_type(obj: Any) -> str: |
| 177 | """Return a string representation of a value and its type for readable |
| 178 | |
| 179 | error messages. |
| 180 | """ |
| 181 | the_type = type(obj) |
| 182 | return f"{obj!r} {the_type!r}" |
no outgoing calls
no test coverage detected
searching dependent graphs…