Skip to content

fix a SyntaxWarning with Python 3.8#33

Open
co1in9 wants to merge 1 commit intoalipay:masterfrom
co1in9:master
Open

fix a SyntaxWarning with Python 3.8#33
co1in9 wants to merge 1 commit intoalipay:masterfrom
co1in9:master

Conversation

@co1in9
Copy link
Copy Markdown

@co1in9 co1in9 commented Oct 8, 2021

alipay.aop.api.util.Webutils.do_post()在Python 3.8下会警告一个语法问题

/usr/local/Caskroom/miniconda/base/envs/rytd_backend/lib/python3.8/site-packages/alipay/aop/api/util/WebUtils.py:148: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if response.status is not 200:
/usr/local/Caskroom/miniconda/base/envs/rytd_backend/lib/python3.8/site-packages/alipay/aop/api/util/WebUtils.py:186: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if response.status is not 200:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant