DocumentList Class
A UserList subclass containing a list of Document objects
Constructor
DocumentList(initlist=None)
Parameters
| Name | Description |
|---|---|
|
initlist
|
Default value: None
|
Methods
| append | |
| clear | |
| copy | |
| count | |
| extend | |
| index | |
| insert | |
| pop | |
| remove | |
| reverse | |
| sort |
append
append(item)
Parameters
| Name | Description |
|---|---|
|
item
Required
|
|
clear
clear()
copy
copy()
count
count(item)
Parameters
| Name | Description |
|---|---|
|
item
Required
|
|
extend
extend(other)
Parameters
| Name | Description |
|---|---|
|
other
Required
|
|
index
index(item, *args)
Parameters
| Name | Description |
|---|---|
|
item
Required
|
|
insert
insert(i, item)
Parameters
| Name | Description |
|---|---|
|
i
Required
|
|
|
item
Required
|
|
pop
pop(i=-1)
Parameters
| Name | Description |
|---|---|
|
i
|
Default value: -1
|
remove
remove(item)
Parameters
| Name | Description |
|---|---|
|
item
Required
|
|
reverse
reverse()
sort
sort(*args, **kwds)