【完善】network 模块自动补全

This commit is contained in:
SummerGift 2019-08-06 10:47:22 +08:00
parent 206dbf6c65
commit 9da1def0cd
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class WLAN(object):
"""
...
def config(self, param : str) -> None:
def config(self, mac : str = None, essid : str = None, password : str = None, hidden : int = 0, channel : int = 0) -> None:
"""
- config(param=value, ...)
获取或者设置一般网络接口参数这些方法允许处理标准的 ip 配置之外的其他参数 WLAN.ifconfig() 函数处理的参数