# Feature or enhancement ### Proposal: We can use the existing `syntax` theme to add colour to the output of: * `pprint.pp(data)` * `pprint.pprint(data)` * `pprint.PrettyPrinter().pprint(data)` https://github.com/python/cpython/blob/9b22261a86b54f198225426e86390ef8dd85e091/Lib/_colorize.py#L312-L323 As usual, this will respect the environment variables to control colour and the output stream's capabilities. ### Has this already been discussed elsewhere? This is a minor feature, which does not need previous discussion elsewhere ### Links to previous discussion of this feature: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-145218 <!-- /gh-linked-prs -->
Activity