Skip to content

Commit b8ddd83

Browse files
committed
docs: Fix newlines, rendering of docstrings
1 parent e7723a1 commit b8ddd83

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/libtmux/pane.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ def kill(
364364
Examples
365365
--------
366366
Kill a pane:
367+
367368
>>> pane_1 = pane.split_window()
368369
369370
>>> pane_1 in window.panes
@@ -375,6 +376,7 @@ def kill(
375376
True
376377
377378
Kill all panes except the current one:
379+
378380
>>> pane.window.resize(height=100, width=100)
379381
Window(@1 1...)
380382

src/libtmux/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ def kill(
423423
Examples
424424
--------
425425
Kill a session:
426+
426427
>>> session_1 = server.new_session()
427428
428429
>>> session_1 in server.sessions
@@ -434,6 +435,7 @@ def kill(
434435
True
435436
436437
Kill all sessions except the current one:
438+
437439
>>> one_session_to_rule_them_all = server.new_session()
438440
439441
>>> other_sessions = server.new_session(

src/libtmux/window.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ def kill(
608608
Examples
609609
--------
610610
Kill a window:
611+
611612
>>> window_1 = session.new_window()
612613
613614
>>> window_1 in session.windows
@@ -619,6 +620,7 @@ def kill(
619620
True
620621
621622
Kill all windows except the current one:
623+
622624
>>> one_window_to_rule_them_all = session.new_window()
623625
624626
>>> other_windows = session.new_window(

0 commit comments

Comments
 (0)