diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:10:59 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:10:59 +0000 |
| commit | 44691d6bbdbafdec4f206564b45997ec54b57732 (patch) | |
| tree | 8c4779da127e613ef719ad9a53cf70261dc7ec9f /docutils/tools/buildhtml.py | |
| parent | 7bf4a01c53b0e1ff8607327a80150b84d7ce13aa (diff) | |
| download | docutils-44691d6bbdbafdec4f206564b45997ec54b57732.tar.gz | |
py3: Use new style classes
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8345 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tools/buildhtml.py')
| -rwxr-xr-x | docutils/tools/buildhtml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docutils/tools/buildhtml.py b/docutils/tools/buildhtml.py index 5cd8ef706..e1d58432c 100755 --- a/docutils/tools/buildhtml.py +++ b/docutils/tools/buildhtml.py @@ -107,7 +107,7 @@ class OptionParser(frontend.OptionParser): return source, destination -class Struct: +class Struct(object): """Stores data attributes for dotted-attribute access.""" @@ -115,7 +115,7 @@ class Struct: self.__dict__.update(keywordargs) -class Builder: +class Builder(object): def __init__(self): self.publishers = { |
