Jelajahi Sumber

【修改】:模块更多介绍链接到 Micropython 介绍页面

SummerGift 7 tahun lalu
induk
melakukan
6def6cd84e

+ 1 - 1
docs/03-Basic_Module/02-utime.md

@@ -105,6 +105,6 @@ while pin.value() == 0:
 1073741823
 1073741823
 ```
 ```
 
 
-更多内容可参考 [`time`](http://docs.micropython.org/en/latest/pyboard/library/utime.html#module-utime)  。
+更多内容可参考 [`utime`](http://docs.micropython.org/en/latest/pyboard/library/utime.html#module-utime)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/03-Basic_Module/04-math.md

@@ -128,6 +128,6 @@
 ### **math.pi**  
 ### **math.pi**  
   圆周率
   圆周率
 
 
-更多内容可参考  [math](https://docs.python.org/3.5/library/math.html?highlight=math#module-math) 。
+更多内容可参考  [math](http://docs.micropython.org/en/latest/pyboard/library/math.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/03-Basic_Module/07-ustruct.md

@@ -23,6 +23,6 @@
 ### **ustruct.unpack_from**(fmt, data, offset=0)  
 ### **ustruct.unpack_from**(fmt, data, offset=0)  
   从 fmt 的 offset 开始解压数据,如果 offset 是负数就是从缓冲区末尾开始计算。 返回值是解压后参数元组。
   从 fmt 的 offset 开始解压数据,如果 offset 是负数就是从缓冲区末尾开始计算。 返回值是解压后参数元组。
 
 
-更多的内容可参考  [struct](https://docs.python.org/3/library/struct.html) 。
+更多的内容可参考  [ustruct](http://docs.micropython.org/en/latest/pyboard/library/ustruct.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/03-Basic_Module/08-array.md

@@ -16,6 +16,6 @@
 ### **extend**(iterable)  
 ### **extend**(iterable)  
   使用迭代方式将新元素添加到数组的结尾,将数组扩展。
   使用迭代方式将新元素添加到数组的结尾,将数组扩展。
 
 
-更多内容可参考  [array](https://docs.python.org/3/library/array.html) 。
+更多内容可参考  [array](http://docs.micropython.org/en/latest/pyboard/library/array.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/03-Basic_Module/09-gc.md

@@ -20,6 +20,6 @@
 ### **gc.mem_free**()  
 ### **gc.mem_free**()  
   返回可用堆内存的字节数,如果返回 -1 则表示容量不可知。
   返回可用堆内存的字节数,如果返回 -1 则表示容量不可知。
 
 
-更多内容可参考  [gc](https://docs.python.org/3.5/library/gc.html#module-gc) 。
+更多内容可参考  [gc](http://docs.micropython.org/en/latest/pyboard/library/gc.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/05-System_Module/02-uselect.md

@@ -32,6 +32,6 @@ eventmask 默认 select.POLLIN | select.POLLOUT.
 ### **poll.poll**([timeout])  
 ### **poll.poll**([timeout])  
 等待至少一个已注册的对象准备就绪。返回列表(obj, event, ...) 元组, event 元素指定了一个流发生的事件,是上面所描述的 `select.POLL*`常量组合。 在元组中可能有其他元素,取决于平台和版本,所以不要假定它的大小是2。如果超时,则返回空列表。超时为毫秒。
 等待至少一个已注册的对象准备就绪。返回列表(obj, event, ...) 元组, event 元素指定了一个流发生的事件,是上面所描述的 `select.POLL*`常量组合。 在元组中可能有其他元素,取决于平台和版本,所以不要假定它的大小是2。如果超时,则返回空列表。超时为毫秒。
 
 
-更多内容可参考 [select](https://docs.python.org/3.5/library/select.html#module-select) 。
+更多内容可参考 [uselect](http://docs.micropython.org/en/latest/pyboard/library/uselect.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/05-System_Module/03-uctypes.md

@@ -26,6 +26,6 @@ Capture memory at the given address and size as bytes object. As bytes object is
 ### **uctypes.bytearray_at**(addr, size)  
 ### **uctypes.bytearray_at**(addr, size)  
 Capture memory at the given address and size as bytearray object. Unlike bytes_at() function above, memory is captured by reference, so it can be both written too, and you will access current value at the given memory address.
 Capture memory at the given address and size as bytearray object. Unlike bytes_at() function above, memory is captured by reference, so it can be both written too, and you will access current value at the given memory address.
 
 
-更多内容可参考 [ctypes](https://docs.python.org/3/library/ctypes.html?highlight=ctypes#module-ctypes) 。
+更多内容可参考 [uctypes](http://docs.micropython.org/en/latest/pyboard/library/uctypes.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/05-System_Module/04-uerrno.md

@@ -17,6 +17,6 @@ Dictionary mapping numeric error codes to strings with symbolic error code (see
 >>> print(uerrno.errorcode[uerrno.EEXIST])
 >>> print(uerrno.errorcode[uerrno.EEXIST])
 EEXIST
 EEXIST
 ```
 ```
-更多内容可参考 [errno](https://docs.python.org/3/library/errno.html?highlight=errno#module-errno) 。
+更多内容可参考 [uerrno](http://docs.micropython.org/en/latest/pyboard/library/uerrno.html) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/05-System_Module/05-_thread.md

@@ -22,6 +22,6 @@ paste mode; Ctrl-C to cancel, Ctrl-D to finish
 
 
 ```
 ```
 
 
-更多内容可参考 [_thread](https://docs.python.org/3/library/_thread.html?highlight=_thread#module-_thread)  。
+更多内容可参考 [_thread](http://docs.micropython.org/en/latest/pyboard/library/_thread.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/01-cmath.md

@@ -39,6 +39,6 @@
 ### **cmath.pi**  
 ### **cmath.pi**  
 圆周率。
 圆周率。
 
 
-更多内容可参考 [cmath](https://docs.python.org/3/library/cmath.html?highlight=cmath#module-cmath)  。
+更多内容可参考 [cmath](http://docs.micropython.org/en/latest/pyboard/library/cmath.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/02-ubinascii.md

@@ -19,6 +19,6 @@ Base64编码的数据转换为二进制表示。返回字节串。
 ### **ubinascii.b2a_base64**(data)  
 ### **ubinascii.b2a_base64**(data)  
 编码base64格式的二进制数据。返回的字符串。
 编码base64格式的二进制数据。返回的字符串。
 
 
-更多内容可参考 [binascii](https://docs.python.org/3/library/binascii.html?highlight=binascii#module-binascii)  。
+更多内容可参考 [ubinascii](http://docs.micropython.org/en/latest/pyboard/library/ubinascii.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/03-uhashlib.md

@@ -33,6 +33,6 @@ A legacy algorithm, not considered cryptographically secure. Only selected board
 ### **hash.hexdigest**()  
 ### **hash.hexdigest**()  
 此方法没有实现, 使用 ubinascii.hexlify(hash.digest()) 达到类似效果。
 此方法没有实现, 使用 ubinascii.hexlify(hash.digest()) 达到类似效果。
 
 
-更多内容可参考 [hashlib](https://docs.python.org/3/library/hashlib.html?highlight=hashlib#module-hashlib)  。
+更多内容可参考 [uhashlib](http://docs.micropython.org/en/latest/pyboard/library/uhashlib.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/04-uheapq.md

@@ -14,6 +14,6 @@
 ### **uheapq.heapify**(x)  
 ### **uheapq.heapify**(x)  
 将列表 x 转换成堆。
 将列表 x 转换成堆。
 
 
-更多内容可参考 [heapq](https://docs.python.org/3/library/heapq.html?highlight=heapq#module-heapq)  。
+更多内容可参考 [uheapq](http://docs.micropython.org/en/latest/pyboard/library/uheapq.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/05-ujson.md

@@ -10,6 +10,6 @@
 ### **ujson.loads**(str)  
 ### **ujson.loads**(str)  
 解析 str 字符串并返回对象。如果字符串格式错误将引发 ValueError 异常。
 解析 str 字符串并返回对象。如果字符串格式错误将引发 ValueError 异常。
 
 
-更多内容可参考 [json](https://docs.python.org/3/library/json.html?highlight=json#module-json)  。
+更多内容可参考 [ujson](http://docs.micropython.org/en/latest/pyboard/library/ujson.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/06-ure.md

@@ -49,6 +49,6 @@
 ### **match.group**([index])  
 ### **match.group**([index])  
 只支持数字组。
 只支持数字组。
 
 
-更多内容可参考 [re](https://docs.python.org/3/library/re.html?highlight=re#module-re)  。
+更多内容可参考 [ure](http://docs.micropython.org/en/latest/pyboard/library/ure.html)  。
 
 
 ----------
 ----------

+ 1 - 1
docs/06-Tools_Module/07-uzlib.md

@@ -8,7 +8,7 @@
 ### **uzlib.decompress**(data)  
 ### **uzlib.decompress**(data)  
 返回解压后的 bytes 数据。
 返回解压后的 bytes 数据。
 
 
-更多内容可参考 [zlib](https://docs.python.org/3/library/zlib.html?highlight=zlib#module-zlib) 。
+更多内容可参考 [uzlib](http://docs.micropython.org/en/latest/pyboard/library/uzlib.html) 。
 
 
 ----------
 ----------
 
 

+ 1 - 1
docs/06-Tools_Module/08-urandom.md

@@ -27,6 +27,6 @@ If a is omitted or None, the current system time is used. If randomness sources
 Return a random floating point number N such that a <= N <= b for a <= b and b <= N <= a for b < a.
 Return a random floating point number N such that a <= N <= b for a <= b and b <= N <= a for b < a.
 The end-point value b may or may not be included in the range depending on floating-point rounding in the equation a + (b-a) * random().
 The end-point value b may or may not be included in the range depending on floating-point rounding in the equation a + (b-a) * random().
 
 
-更多内容可参考 [random](https://docs.python.org/3/library/random.html?highlight=random#module-random) 。
+更多内容可参考 [urandom](https://docs.python.org/3/library/random.html?highlight=random#module-random) 。
 
 
 ----------
 ----------

+ 1 - 1
docs/07-Network_Module/01-usocket.md

@@ -123,6 +123,6 @@ s = socket.socket()
 s.connect(socket.getaddrinfo('www.micropython.org', 80)[0][-1])
 s.connect(socket.getaddrinfo('www.micropython.org', 80)[0][-1])
 ```
 ```
 
 
-更多的内容可参考 [socket](https://docs.python.org/3/library/socket.html) 。
+更多的内容可参考 [usocket](http://docs.micropython.org/en/latest/pyboard/library/usocket.html) 。
 
 
 ----------
 ----------

+ 0 - 1
docs/08-Packages_Management.md

@@ -1,3 +1,2 @@
 # RT-Thread MicroPython 包管理
 # RT-Thread MicroPython 包管理
 
 
-正在努力中,马上就来