Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a SyntaxWarning with Python 3.8 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

co1in9
Copy link

@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