Skip to content

Commit 35a3ec9

Browse files
Jackevansevodbieber
authored andcommitted
Update guide.md (google#31)
Python Fire Guide: Fix "NameError: name 'x' is not defined" in Argument Parsing example
1 parent c399562 commit 35a3ec9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ of any argument we give it:
567567

568568
```python
569569
import fire
570-
fire.Fire(lambda obj: type(x).__name__)
570+
fire.Fire(lambda obj: type(obj).__name__)
571571
```
572572

573573
And we'll use it like so:

0 commit comments

Comments
 (0)