Skip to content

Commit 27d244b

Browse files
committed
Remove empty lines before class docstrings
Some time ago, this was changed in PEP 257.
1 parent 244b423 commit 27d244b

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

doc/fake_cffi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
class FFI(object):
5+
56
def cdef(self, _, packed=NotImplemented):
67
pass
78

examples/midi_sine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def m2f(note):
5353

5454

5555
class Voice:
56+
5657
def __init__(self, pitch):
5758
self.time = 0
5859
self.time_increment = m2f(pitch) / fs

jack.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@
321321

322322

323323
class Client(object):
324-
325324
"""A client that can connect to the JACK audio server."""
326325

327326
def __init__(self, name, use_exact_name=False, no_start_server=False,
@@ -1571,7 +1570,6 @@ def _wrap_port_ptr(self, ptr):
15711570

15721571

15731572
class Port(object):
1574-
15751573
"""A JACK audio port.
15761574
15771575
This class cannot be instantiated directly. Instead, instances of
@@ -1691,7 +1689,6 @@ def _hasflag(self, flag):
16911689

16921690

16931691
class MidiPort(Port):
1694-
16951692
"""A JACK MIDI port.
16961693
16971694
This class is derived from :class:`Port` and has exactly the same
@@ -1715,7 +1712,6 @@ class MidiPort(Port):
17151712

17161713

17171714
class OwnPort(Port):
1718-
17191715
"""A JACK audio port owned by a :class:`Client` object.
17201716
17211717
This class is derived from :class:`Port`. :class:`OwnPort` objects
@@ -1871,7 +1867,6 @@ def get_array(self):
18711867

18721868

18731869
class OwnMidiPort(MidiPort, OwnPort):
1874-
18751870
"""A JACK MIDI port owned by a :class:`Client` object.
18761871
18771872
This class is derived from :class:`OwnPort` and :class:`MidiPort`,
@@ -2034,7 +2029,6 @@ def reserve_midi_event(self, time, size):
20342029

20352030

20362031
class Ports(object):
2037-
20382032
"""A list of input/output ports.
20392033
20402034
This class is not meant to be instantiated directly. It is only
@@ -2126,7 +2120,6 @@ def clear(self):
21262120

21272121

21282122
class RingBuffer(object):
2129-
21302123
"""JACK's lock-free ringbuffer."""
21312124

21322125
def __init__(self, size):
@@ -2375,7 +2368,6 @@ def size(self):
23752368

23762369

23772370
class Status(object):
2378-
23792371
"""Representation of the JACK status bits."""
23802372

23812373
__slots__ = '_code'
@@ -2475,7 +2467,6 @@ def _hasflag(self, flag):
24752467

24762468

24772469
class TransportState(object):
2478-
24792470
"""Representation of the JACK transport state.
24802471
24812472
See Also
@@ -2502,14 +2493,12 @@ def __repr__(self):
25022493

25032494

25042495
class JackError(Exception):
2505-
25062496
"""Exception for all kinds of JACK-related errors."""
25072497

25082498
pass
25092499

25102500

25112501
class CallbackExit(Exception):
2512-
25132502
"""To be raised in a callback function to signal failure.
25142503
25152504
See Also

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
from setuptools import setup
33
from setuptools.command.test import test as TestCommand
44

5+
56
class PyTest(TestCommand):
7+
68
def finalize_options(self):
79
TestCommand.finalize_options(self)
810
self.test_args = []

0 commit comments

Comments
 (0)