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

fix: 修改事件发布时单个参数为可变参数 #222

Merged
merged 1 commit into from
Feb 25, 2023
Merged

fix: 修改事件发布时单个参数为可变参数 #222

merged 1 commit into from
Feb 25, 2023

Conversation

Drelf2018
Copy link
Collaborator

函数下的注释明明就是”*args, **kwargs: 要传递给函数的参数。“,那为什么函数还是单个参数呢?

函数下的注释明明就是”*args, **kwargs:  要传递给函数的参数。“,那为什么函数还是单个参数呢
@Drelf2018
Copy link
Collaborator Author

用了 AsyncEvent 的地方应该是不用修改的,之前要么没传值,要么是传单个参数。传单参数的会接收到 *args 里所以不影响。

@Nemo2011 Nemo2011 merged commit 2a82690 into Nemo2011:dev Feb 25, 2023
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.

2 participants