Skip to content

Commit bb92856

Browse files
committed
dedent
1 parent 8144886 commit bb92856

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Doc/library/collections.abc.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ of three ways.
3434

3535
.. testcode::
3636

37-
class C(Sequence): # Direct inheritance
38-
def __init__(self): ... # Extra method not required by the ABC
39-
def __getitem__(self, index): ... # Required abstract method
40-
def __len__(self): ... # Required abstract method
41-
def count(self, value): ... # Optionally override a mixin method
37+
class C(Sequence): # Direct inheritance
38+
def __init__(self): ... # Extra method not required by the ABC
39+
def __getitem__(self, index): ... # Required abstract method
40+
def __len__(self): ... # Required abstract method
41+
def count(self, value): ... # Optionally override a mixin method
4242

4343
.. doctest::
4444

@@ -57,14 +57,14 @@ of three ways.
5757

5858
.. testcode::
5959

60-
class D: # No inheritance
61-
def __init__(self): ... # Extra method not required by the ABC
62-
def __getitem__(self, index): ... # Abstract method
63-
def __len__(self): ... # Abstract method
64-
def count(self, value): ... # Mixin method
65-
def index(self, value): ... # Mixin method
60+
class D: # No inheritance
61+
def __init__(self): ... # Extra method not required by the ABC
62+
def __getitem__(self, index): ... # Abstract method
63+
def __len__(self): ... # Abstract method
64+
def count(self, value): ... # Mixin method
65+
def index(self, value): ... # Mixin method
6666

67-
Sequence.register(D) # Register instead of inherit
67+
Sequence.register(D) # Register instead of inherit
6868

6969
.. doctest::
7070

@@ -84,9 +84,9 @@ of three ways.
8484

8585
.. testcode::
8686

87-
class E:
88-
def __iter__(self): ...
89-
def __next__(self): ...
87+
class E:
88+
def __iter__(self): ...
89+
def __next__(self): ...
9090

9191
.. doctest::
9292

0 commit comments

Comments
 (0)