mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-18 17:58:48 +07:00
29 lines
583 B
Python
29 lines
583 B
Python
# TODO: Commit to separate repositoruy
|
|
|
|
|
|
from django.forms import BaseForm
|
|
class BaseFormSet(object):
|
|
"""
|
|
A collection of instances of the same Form class.
|
|
|
|
"""
|
|
|
|
def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None,
|
|
initial=None, error_class=ErrorList, form_kwargs=None):
|
|
"""
|
|
:rtype: BaseFormSet[T <= BaseForm]
|
|
"""
|
|
|
|
def __iter__(self):
|
|
"""
|
|
|
|
:rtype: collections.Iterator[T]
|
|
"""
|
|
pass
|
|
|
|
def __getitem__(self, index):
|
|
"""
|
|
:rtype: T
|
|
"""
|
|
pass
|