Skip to content

Commit aa50117

Browse files
committed
Better line wrap of example
1 parent 0d2cd55 commit aa50117

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/examples.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ This is useful in times when you want to enhance classes that are not yours (nic
9494
>>> class SomethingFromSomeoneElse(object):
9595
... def __init__(self, x):
9696
... self.x = x
97-
>>> SomethingFromSomeoneElse = attr.s(these={"x": attr.ib()}, init=False)(SomethingFromSomeoneElse)
97+
>>> SomethingFromSomeoneElse = attr.s(
98+
... these={
99+
... "x": attr.ib()
100+
... }, init=False)(SomethingFromSomeoneElse)
98101
>>> SomethingFromSomeoneElse(1)
99102
SomethingFromSomeoneElse(x=1)
100103

0 commit comments

Comments
 (0)