summaryrefslogtreecommitdiff
path: root/Lib/contextvars.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-01-22 19:11:18 -0500
committerGitHub <noreply@github.com>2018-01-22 19:11:18 -0500
commitf23746a934177c48eff754411aba54c31d6be2f0 (patch)
tree4b32964b53fa87701f71c71937792f2489b7bbb4 /Lib/contextvars.py
parent9089a265918754d95e105a7c4c409ac9352c87bb (diff)
downloadcpython-git-f23746a934177c48eff754411aba54c31d6be2f0.tar.gz
bpo-32436: Implement PEP 567 (#5027)
Diffstat (limited to 'Lib/contextvars.py')
-rw-r--r--Lib/contextvars.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/contextvars.py b/Lib/contextvars.py
new file mode 100644
index 0000000000..d78c80dfe6
--- /dev/null
+++ b/Lib/contextvars.py
@@ -0,0 +1,4 @@
+from _contextvars import Context, ContextVar, Token, copy_context
+
+
+__all__ = ('Context', 'ContextVar', 'Token', 'copy_context')