Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 清单 - 添加解包相关 #407

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

aixcyi
Copy link
Contributor

@aixcyi aixcyi commented Aug 3, 2023

修改

  • 将原来的 if 示例 拆分成 if-elseif-elif-else

新增

  • 赋值语句中的解包
  • 直接对各种对象的解包
  • 生成式中的解包
  • 迭代中解包
  • 函数中的解包(包括参数解包和对返回值解包)

@jaywcjlove jaywcjlove merged commit ccd2310 into jaywcjlove:main Aug 3, 2023
github-actions bot pushed a commit that referenced this pull request Aug 3, 2023
* doc: 优化 Python 判断语句的示例

* doc: 添加 Python 解包清单 ccd2310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants