Avoid SyntaxWarning on Python >= 3.8 (#304)
% `python3.8` ``` >>> 0 is 0 <stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="? >>> 'Double' is 'Double' <stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="? ```
Showing
想要评论请 注册 或 登录