Skip to content

Commit 16e48fc

Browse files
committed
Update README
1 parent 436ce98 commit 16e48fc

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
@@ -108,8 +108,8 @@ True
108108
>>> paranoid_g()
109109
```
110110
```diff
111-
- NameError: Undefined variables: 'global_x', 'closure_y'.
112-
- Use `bind` method to assign values for these names before calling.
111+
- UserWarning: Undefined variables: 'global_x', 'closure_y'.
112+
- Perhaps use `bind` method to assign values for these names before calling.
113113
```
114114
```python
115115
>>> new_g = paranoid_g.bind({'global_x': 100, 'closure_y': 200})

0 commit comments

Comments
 (0)