From 0d12ccacf117f281a8c381eab8f97bf5ffbcc2d8 Mon Sep 17 00:00:00 2001
From: "Francis.Qin" <1371316129@qq.com>
Date: Tue, 11 Apr 2023 21:54:49 +0800
Subject: [PATCH] =?UTF-8?q?docs=20(WLAN&ustruct&ucollections):=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9WLAN/WLAN.ESP8266/ustruct/ucollections=E6=96=87?=
=?UTF-8?q?=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
根据ST第二次检查,修改WLAN/WLAN.ESP8266/ustruct/ucollections文档
固件版本: N/A
是否需要文案翻译: 是
---
.../ucollections.md" | 10 +++++-----
.../ustruct.md" | 2 +-
.../WLAN.ESP8266.md" | 6 ++++--
.../zh/QuecPython\347\261\273\345\272\223/WLAN.md" | 4 ++--
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ucollections.md" "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ucollections.md"
index 082ffba6..5d990fd5 100644
--- "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ucollections.md"
+++ "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ucollections.md"
@@ -1,7 +1,7 @@
# ucollections - 集合和容器类型
-模块功能:ucollections 模块可以创建一个新的容器类型,用于保存各种对象。该模块实现了CPython模块相应模块的子集。更多信息请参阅CPython文档:[collections](https://docs.python.org/3/library/collections.html)
+`ucollections`模块可以创建一个新的容器类型,用于保存各种对象。该模块实现了CPython模块相应模块的子集。更多信息请参阅CPython文档:[collections](https://docs.python.org/3/library/collections.html)
## `ucollections`方法
### `ucollections.namedtuple`
@@ -40,9 +40,9 @@ ucollections.deque(iterable, maxlen, flag)
- `iterable` - tuple类型,必须是一个空元组
- `maxlen` - int类型,表示指定maxlen并将双端队列限制为此最大长度
-- `flag` - int类型,可选参数;0(默认):不检查队列是否溢出,达到最大长度时继续append会丢弃之前的值 ,1:当队列达到最大设定长度会抛出IndexError: full
+- `flag` - int类型,可选参数;`0`(默认):不检查队列是否溢出,达到最大长度时继续append会丢弃之前的值 ,`1`:当队列达到最大设定长度会抛出IndexError: full
-**返回值:**
+**返回值描述:**
- deque对象
@@ -72,11 +72,11 @@ deque.popleft()
从`deque`的左侧移除并返回移除的数据。如果`deque`为空,会引起索引错误
-**返回值:**
+**返回值描述:**
- 返回pop出的值
-**使用示例**
+**示例**
```python
from ucollections import deque
diff --git "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ustruct.md" "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ustruct.md"
index 002dafab..75c1a4dd 100644
--- "a/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ustruct.md"
+++ "b/docs/API_reference/zh/QuecPython\346\240\207\345\207\206\345\272\223/ustruct.md"
@@ -1,7 +1,7 @@
# ustruct - 打包和解压原始数据类型
-模块功能:`ustruct`模块实现相应CPython模块的子集。更多信息请参阅CPython文档:[struct](https://docs.python.org/3.5/library/struct.html#module-struct)
+`ustruct`模块实现相应CPython模块的子集。更多信息请参阅CPython文档:[struct](https://docs.python.org/3.5/library/struct.html#module-struct)
## 格式字符串
diff --git "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.ESP8266.md" "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.ESP8266.md"
index 74c673cd..7fe72ef3 100644
--- "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.ESP8266.md"
+++ "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.ESP8266.md"
@@ -149,6 +149,8 @@ ESP8266.ap(username,password)
使无线网卡以`ap`工作模式启动,作为无线热点。
+> ap模式理论最多支持`10`个终端设备接入。
+
**参数描述:**
- `username` - 配置 `WiFi热点` 的名称(1~32 个字符)
@@ -168,7 +170,7 @@ ESP8266.web_config(username,password)
使无线网卡以`web 配网`工作模式启动,用户可通过web页面进行网络配置。
-> 提示:启用配网功能后,需使用手机/电脑等终端设备通过无线网络连接至无线网卡(用户自定义名称和密码),然后通过浏览器输入192.168.4.1进入配网页面。
+> 启用配网功能后,需使用手机/电脑等终端设备通过无线网络连接至无线网卡(用户自定义名称和密码),然后通过浏览器输入192.168.4.1进入配网页面。
**参数描述:**
@@ -189,7 +191,7 @@ ESP8266.ota(url)
开启`ota`后,网卡将更新新版本固件
-> 注意:当前仅支持sta模式下进行ota升级;且升级过程中只可查询当前状态,不可进行其他操作
+> 当前仅支持sta模式下进行ota升级;且升级过程中只可查询当前状态,不可进行其他操作。
**参数描述:**
diff --git "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.md" "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.md"
index e65e60f4..20cf514f 100644
--- "a/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.md"
+++ "b/docs/API_reference/zh/QuecPython\347\261\273\345\272\223/WLAN.md"
@@ -3,7 +3,7 @@
`WLAN`模块包含无线局域网控制及网络配置功能。主要是针对不同类型无线网卡提供统一的管理方式。
-> 当前功能支持模组:EC600N系列
当前功能支持网卡:ESP8266无线网卡
+> 当前支持此功能模组:EC600N系列
当前支持此功能网卡:ESP8266无线网卡
**示例:**
@@ -112,4 +112,4 @@
## Classes
-- [class ESP8266 – ESP8266驱动](./WLAN.ESP8266.md)
\ No newline at end of file
+- [class ESP8266 – ESP8266无线网络控制](./WLAN.ESP8266.md)
\ No newline at end of file
--
Gitee