Skip to content

Commit

Permalink
Fixing what I think is a bug in the Pyclif documentation.
Browse files Browse the repository at this point in the history
I'm pretty sure that
from x.y.z as *
isn't a thing and that
from x.y.z import * was intended. Relying on the reviewer who wrote that line to correct me if I am wrong.

PiperOrigin-RevId: 550763782
  • Loading branch information
CLIF Team authored and Ralf W. Grosse-Kunstleve committed Jul 25, 2023
1 parent 0a346a3 commit 08b7390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clif/python/primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ from some.place import _mylib as ext
and/or (!)

```python
from some.place._mylib as * # pylint: disable=wildcard-import
from some.place._mylib import * # pylint: disable=wildcard-import
```

The second form may be preferable if `_mylib` wraps many functions or types,
Expand Down

0 comments on commit 08b7390

Please sign in to comment.