forked from M-Labs/artiq
1
0
Fork 0

coredevice.ttl: More imperative mood in docstrings [nfc]

This follows Python conventions (PEP257) and unifies the style with
other comments.
This commit is contained in:
David Nadlinger 2019-01-12 12:01:55 +00:00
parent f2c1d32e54
commit 48fc175a6b
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ class TTLOut:
@kernel @kernel
def on(self): def on(self):
"""Sets the output to a logic high state at the current position """Set the output to a logic high state at the current position
of the time cursor. of the time cursor.
The time cursor is not modified by this function.""" The time cursor is not modified by this function."""
@ -176,7 +176,7 @@ class TTLInOut:
@kernel @kernel
def pulse_mu(self, duration): def pulse_mu(self, duration):
"""Pulses the output high for the specified duration """Pulse the output high for the specified duration
(in machine units). (in machine units).
The time cursor is advanced by the specified duration.""" The time cursor is advanced by the specified duration."""
@ -186,7 +186,7 @@ class TTLInOut:
@kernel @kernel
def pulse(self, duration): def pulse(self, duration):
"""Pulses the output high for the specified duration """Pulse the output high for the specified duration
(in seconds). (in seconds).
The time cursor is advanced by the specified duration.""" The time cursor is advanced by the specified duration."""