Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rst2ast/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def walk(self, node, line=1):
# Attributes
for k, v in node.__dict__.items():
try:
if not k.startswith('__') and isinstance(v, (str, int, float, bool, unicode, long,)):
if not k.startswith('__') and isinstance(v, (str, int, float, bool,)):
result[k] = v
except NameError as e:
pass
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name='docutils-ast-writer',
description='AST Writer for docutils',
version='0.1.2',
version='0.1.3',
author='jimo1001',
author_email='jimo1001@gmail.com',
license='MIT',
Expand All @@ -19,5 +19,5 @@
[console_scripts]
rst2ast = rst2ast.cmd:run
""",
use_2to3 = True
python_requires=">=3.6",
)