Skip to content

Commit 7a21457

Browse files
authored
Update query.py
1 parent 3f4bb0a commit 7a21457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/css/query.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def only_one(
246246
# should *not* be anything there, so we *should* get an
247247
# IndexError. We *could* have just checked the length of the
248248
# query, but the idea here is to do the check as cheaply as
249-
# possible. "There can be only one!" -- Duncan McLeod
249+
# possible. "There can be only one!" -- Kurgan et al.
250250
_ = self.nodes[1]
251251
raise TooManyMatches(
252252
"Call to only_one resulted in more than one matched node"

0 commit comments

Comments
 (0)