Skip to content

Commit 780939d

Browse files
committed
docs(README): Fix doctest
1 parent 87a523c commit 780939d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ Session($1 foo)
9292
Control your session:
9393

9494
```python
95-
# Assign session to `session`:
96-
>>> session = server.find_where({ "session_name": "foo" })
95+
>>> session.rename_session('foo')
96+
Session($1 foo)
9797
>>> session.new_window(attach=False, window_name="ha in the bg")
98-
Window(@8 2:ha in the bg, Session($3 foo))
98+
Window(@2 2:ha in the bg, Session($1 foo))
9999
>>> session.kill_window("ha in")
100100
```
101101

0 commit comments

Comments
 (0)