diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-23 17:22:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-23 17:22:08 (GMT) |
commit | 004d5e6880940ddbb38460986ac62ee0f1bae97d (patch) | |
tree | 682e75e743f5c22206a65ac0262c03ce37e4fbee /Lib/test/test_pyexpat.py | |
parent | 2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (diff) | |
download | cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.zip cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.gz cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.bz2 |
Make reindent.py happy (convert everything to 4-space indents!).
Diffstat (limited to 'Lib/test/test_pyexpat.py')
-rw-r--r-- | Lib/test/test_pyexpat.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index a119987..fae1849 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -2,13 +2,13 @@ # XXX TypeErrors on calling handlers, or on bad return values from a # handler, are obscure and unhelpful. - + from xml.parsers import expat - + class Outputter: def StartElementHandler(self, name, attrs): print 'Start element:\n\t', repr(name), attrs - + def EndElementHandler(self, name): print 'End element:\n\t', repr(name) @@ -43,11 +43,11 @@ class Outputter: def UnparsedEntityDeclHandler(self, *args): entityName, base, systemId, publicId, notationName = args print 'Unparsed entity decl:\n\t', args - + def NotStandaloneHandler(self, userData): print 'Not standalone' return 1 - + def ExternalEntityRefHandler(self, *args): context, base, sysId, pubId = args print 'External entity ref:', args |