python-devtools
python-devtools copied to clipboard
Dev tools for python
Python 3.13 introduced the `show_empty` keyword argument to [`ast.dump`](https://docs.python.org/3/library/ast.html#ast.dump). If `show_empty` is `False`, `ast.dump` omits empty lists and fields that are `None` from its output. Since `show_empty=False` is the default...
i want to use it, but it's quite difficult to figure out it's semantics without documentation
```py from devtools import pformat from devtools.prettier import pprint class A: def __repr__(self): return pformat(1) pprint(A()) # 11 ``` here i would expect the output to be `1`, but it...
```py from devtools.prettier import pprint class A: def __repr__(self): return "['asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf...
Currently we have the following pin ``` The package `devtools` requires `asttokens>=2.0.0,