inducer / inducer/pudb

Support printing newlines in variable repr/str display

Open
#203 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

A useful option enable printing newlines for variable display for str/repr.

Right now if a variable contains newlines they are shown as ?. So it looks like the user typed `repr(var)` in interactive mode. For example:
`a {? b? }?`

It would be handy if the newlines could be printed. So it would look the same as just typing `var` in interactive mode (or `print repr(var)`). For example:

```
a {
b
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.