Skip to content

Commit

Permalink
Update autocorrect-py README.md to fix print syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBener committed May 28, 2024
1 parent 2a19de0 commit ff623a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autocorrect-py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ autocorrect.format_for("let title = 'Hello你好。'", "js")
# => "let title = 'Hello 你好。'"

result = autocorrect.lint_for("<h1>这是 Heading标题</h1>", "html")
print result
print(result)
# => LintResult(filepath='html', lines=[LineResult { line: 1, col: 5, new: "这是 Heading 标题", old: "这是 Heading标题", severity: Error }], enable=true)

# Load config
Expand Down

0 comments on commit ff623a0

Please sign in to comment.