8000 Clarify README import · scientific-python/spin@7c7e7bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c7e7bf

Browse files
committed
Clarify README import
1 parent 6fdacd3 commit 7c7e7bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ For this purpose, we provide the `spin.util.extend_cmd` decorator.
207207
Here, we show how to add a `--extra` flag to the existing `build` function:
208208

209209
```python
210-
from spin.cmds import meson
210+
import spin
211211

212212

213213
@click.option("-e", "--extra", help="Extra test flag")
214-
@util.extend_command(spin.cmds.meson.build)
214+
@spin.util.extend_command(spin.cmds.meson.build)
215215
def build_extend(*, parent_callback, extra=None, **kwargs):
216216
"""
217217
This version of build also provides the EXTRA flag, that can be used

0 commit comments

Comments
 (0)
0