DocumentList 类
包含 UserList 对象列表的 Document 子类
- 继承
-
azure.functions._abc.DocumentListDocumentListDocumentList
构造函数
DocumentList(initlist=None)
参数
| 名称 | 说明 |
|---|---|
|
initlist
|
默认值: None
|
方法
| append | |
| clear | |
| copy | |
| count | |
| extend | |
| index | |
| insert | |
| pop | |
| remove | |
| reverse | |
| sort |
append
append(item)
参数
| 名称 | 说明 |
|---|---|
|
item
必需
|
|
clear
clear()
copy
copy()
count
count(item)
参数
| 名称 | 说明 |
|---|---|
|
item
必需
|
|
extend
extend(other)
参数
| 名称 | 说明 |
|---|---|
|
other
必需
|
|
index
index(item, *args)
参数
| 名称 | 说明 |
|---|---|
|
item
必需
|
|
insert
insert(i, item)
参数
| 名称 | 说明 |
|---|---|
|
i
必需
|
|
|
item
必需
|
|
pop
pop(i=-1)
参数
| 名称 | 说明 |
|---|---|
|
i
|
默认值: -1
|
remove
remove(item)
参数
| 名称 | 说明 |
|---|---|
|
item
必需
|
|
reverse
reverse()
sort
sort(*args, **kwds)