Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Mar 21, 2024
1 parent a2bf0f4 commit 958688d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ impl Playground {
.object
.into_code()
.replace("from collections import namedtuple as NamedTuple__\n", "")
.replace(" import warnings\n warnings.warn(\"`typing.Union` is not available. Please use Python 3.8+.\")\n", "");
.replace(" import warnings\n", "")
.replace(" warnings.warn(\"`typing.Union` is not available. Please use Python 3.8+.\")\n", "");
if !self.inited {
self.initialize();
}
Expand Down

0 comments on commit 958688d

Please sign in to comment.