chore: shorter wording in docstring

This commit is contained in:
Matthias
2026-04-06 10:05:26 +02:00
parent 6712d20578
commit 8890cdbcdb
+1 -1
View File
@@ -42,7 +42,7 @@ class PairLocks:
) -> PairLock: ) -> PairLock:
""" """
Create PairLock from now to "until". Create PairLock from now to "until".
Does not create a new lock if there is already a lock with the same Reason, side and end time. Doesn't create a new lock if there is already a lock with the same Reason, side and endtime.
Uses database by default, unless PairLocks.use_db is set to False, Uses database by default, unless PairLocks.use_db is set to False,
in which case a list is maintained. in which case a list is maintained.
:param pair: pair to lock. use '*' to lock all pairs :param pair: pair to lock. use '*' to lock all pairs