浏览代码

Eliminate warning: "<string>:27: (WARNING/2) Inline literal start-string without end-string." (#4789)

### Motivation

<!-- What problem does this PR solve? Which new feature or improvement
does it implement? -->
<!-- Please provide relevant links to corresponding issues and feature
requests. -->

### Implementation

<!-- What is the concept behind the implementation? How does it work?
-->
<!-- Include any important technical decisions or trade-offs made -->

### Progress

- [ ] I chose a meaningful title that completes the sentence: "If
applied, this PR will..."
- [x] The implementation is complete.
- [ ] Pytests have been added (or are not necessary).
- [ ] Documentation has been added (or is not necessary).
Igor 2 天之前
父节点
当前提交
3c38104b1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nicegui/element.py

+ 1 - 1
nicegui/element.py

@@ -359,7 +359,7 @@ class Element(Visibility):
         :param args: arguments included in the event message sent to the event handler (default: ``None`` meaning all)
         :param throttle: minimum time (in seconds) between event occurrences (default: 0.0)
         :param leading_events: whether to trigger the event handler immediately upon the first event occurrence (default: ``True``)
-        :param trailing_events: whether to trigger the event handler after the last event occurrence (default: ``True`)
+        :param trailing_events: whether to trigger the event handler after the last event occurrence (default: ``True``)
         :param js_handler: JavaScript function that is handling the event on the client (default: "(...args) => emit(...args)")
         """
         if js_handler is None: