Skip to content

Commit

Permalink
Update W1402 message example to be an actually working code (#7482)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Sep 18, 2022
1 parent 57c064d commit eaf7033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print(b"\u{0}".format("0394")) # [anomalous-unicode-escape-in-string]
print(b"\u%b" % b"0394") # [anomalous-unicode-escape-in-string]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print(b"\\u{0}".format("0394"))
print(b"\\u%b" % b"0394")

0 comments on commit eaf7033

Please sign in to comment.