2025-09-10:仓库迁移

This commit is contained in:
2025-09-10 16:12:45 +08:00
parent e0e49b0ac9
commit 3130e336a1
146 changed files with 4066 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# 在*参数和**参数之间可以加入普通参数这种普通参数被称为keyword_only参数
def recv(maxsize, *, block):
print("recv msg")
pass
# 这类参数只能被指定输入,示例如下:
recv(1024, True) # 报错TypeError
recv(1024, block=True) # 正确