forked from M-Labs/artiq
1
0
Fork 0

coredevice: Imperative mood in docstrings [nfc]

This follows Python conventions (PEP257) and unifies the style with
other comments.
This commit is contained in:
David Nadlinger 2018-10-26 11:56:33 +01:00 committed by Sébastien Bourdeauducq
parent cbdef0225c
commit d6fcc0529f
1 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ class Core:
@portable @portable
def seconds_to_mu(self, seconds): def seconds_to_mu(self, seconds):
"""Converts seconds to the corresponding number of machine units """Convert seconds to the corresponding number of machine units
(RTIO cycles). (RTIO cycles).
:param seconds: time (in seconds) to convert. :param seconds: time (in seconds) to convert.
@ -143,7 +143,7 @@ class Core:
@portable @portable
def mu_to_seconds(self, mu): def mu_to_seconds(self, mu):
"""Converts machine units (RTIO cycles) to seconds. """Convert machine units (RTIO cycles) to seconds.
:param mu: cycle count to convert. :param mu: cycle count to convert.
""" """
@ -166,7 +166,7 @@ class Core:
@kernel @kernel
def get_drtio_link_status(self, linkno): def get_drtio_link_status(self, linkno):
"""Returns whether the specified DRTIO link is up. """Return whether the specified DRTIO link is up.
This is particularly useful in startup kernels to delay This is particularly useful in startup kernels to delay
startup until certain DRTIO links are up.""" startup until certain DRTIO links are up."""