mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-04 11:07:38 +08:00
46 lines
842 B
Plaintext
46 lines
842 B
Plaintext
{{! Google Docstring Template }}
|
|
📝简单介绍:
|
|
|
|
{{summaryPlaceholder}}
|
|
{{extendedSummaryPlaceholder}}
|
|
{{#parametersExist}}
|
|
🌱参数:
|
|
{{#args}}
|
|
|
|
🔹{{var}} (`{{typePlaceholder}}`):
|
|
{{descriptionPlaceholder}}
|
|
{{/args}}
|
|
{{#kwargs}}
|
|
|
|
🔹{{var}} (`{{typePlaceholder}}`, 默认是 `{{&default}}`):
|
|
{{descriptionPlaceholder}}
|
|
{{/kwargs}}
|
|
{{/parametersExist}}
|
|
|
|
🚀使用范例:
|
|
|
|
`{{descriptionPlaceholder}}`
|
|
{{#exceptionsExist}}
|
|
|
|
💩异常:
|
|
{{#exceptions}}
|
|
|
|
❗`{{type}}`: {{descriptionPlaceholder}}
|
|
{{/exceptions}}
|
|
{{/exceptionsExist}}
|
|
{{#returnsExist}}
|
|
|
|
✅返回值:
|
|
{{#returns}}
|
|
|
|
🔸`{{typePlaceholder}}`: {{descriptionPlaceholder}}
|
|
{{/returns}}
|
|
{{/returnsExist}}
|
|
{{#yieldsExist}}
|
|
|
|
Yields:
|
|
{{#yields}}
|
|
{{typePlaceholder}}: {{descriptionPlaceholder}}
|
|
{{/yields}}
|
|
{{/yieldsExist}}
|