예제 #1
0
파일: browser.py 프로젝트: mredar/twill
 def showforms(self):
     """
     Pretty-print all of the forms.  Include the global form (form
     elements outside of <form> pairs) as forms[0] iff present.
     """
     forms = self.get_all_forms()
     for n, f in enumerate(forms):
         print_form(n, f, OUT)
예제 #2
0
 def showforms(self):
     """
     Pretty-print all of the forms.  Include the global form (form
     elements outside of <form> pairs) as forms[0] iff present.
     """
     forms = self.get_all_forms()
     for n, f in enumerate(forms):
         print_form(n, f, OUT)