mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 14:50:16 +00:00
Merge pull request #4341 from hugovk/patch-1
Python 3.7 not officially supported yet
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ Requests is ready for today's web.
|
||||
- ``.netrc`` Support
|
||||
- Chunked Requests
|
||||
|
||||
Requests officially supports Python 2.6–2.7 & 3.3–3.7, and runs great on PyPy.
|
||||
Requests officially supports Python 2.6–2.7 & 3.4–3.6, and runs great on PyPy.
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
@@ -39,7 +39,7 @@ from .models import REDIRECT_STATI
|
||||
|
||||
# Preferred clock, based on which one is more accurate on a given system.
|
||||
if platform.system() == 'Windows':
|
||||
try: # Python 3.3+
|
||||
try: # Python 3.4+
|
||||
preferred_clock = time.perf_counter
|
||||
except AttributeError: # Earlier than Python 3.
|
||||
preferred_clock = time.clock
|
||||
|
||||
Reference in New Issue
Block a user