Skip to content

Commit 7bf53c8

Browse files
kinuaxsamuelcolvin
andauthored
Update README (#156)
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
1 parent 4096b67 commit 7bf53c8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ Outputs:
3333

3434
```py
3535
test.py:4 <module>:
36-
whatever: [1, 2, 3] (list)
36+
whatever: [1, 2, 3] (list) len=3
3737
```
3838

3939

4040
That's only the tip of the iceberg, for example:
4141

4242
```py
4343
import numpy as np
44+
from devtools import debug
4445

4546
data = {
4647
'foo': np.array(range(20)),
@@ -58,8 +59,8 @@ outputs:
5859

5960
## Usage without Import
6061

61-
devtools can be used without `from devtools import debug` if you add `debug` into `__builtins__`
62+
devtools can be used without `from devtools import debug` if you add `debug` into `builtins`
6263
in `sitecustomize.py`.
6364

64-
For instructions on adding `debug` to `__builtins__`,
65+
For instructions on adding `debug` to `builtins`,
6566
see the [installation docs](https://python-devtools.helpmanual.io/usage/#usage-without-import).

‎demo.py.png‎

60 Bytes
Loading

0 commit comments

Comments
 (0)