m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
575 B

6 months ago
  1. #!/usr/bin/env python
  2. """
  3. requests.certs
  4. ~~~~~~~~~~~~~~
  5. This module returns the preferred default CA certificate bundle. There is
  6. only one the one from the certifi package.
  7. If you are packaging Requests, e.g., for a Linux distribution or a managed
  8. environment, you can change the definition of where() to return a separately
  9. packaged CA bundle.
  10. """
  11. import os
  12. if "_PIP_STANDALONE_CERT" not in os.environ:
  13. from pip._vendor.certifi import where
  14. else:
  15. def where():
  16. return os.environ["_PIP_STANDALONE_CERT"]
  17. if __name__ == "__main__":
  18. print(where())