X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/92f20d7f8493f9d0f27531f68b776fb435d53d2e..754eecf69eed0bdc75fe224c19a702a4f0676807:/src/black/__init__.py diff --git a/src/black/__init__.py b/src/black/__init__.py index f46b866..90aad22 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -54,6 +54,13 @@ from blib2to3.pgen2 import token from _black_version import version as __version__ +# If our environment has uvloop installed lets use it +try: + import uvloop + + uvloop.install() +except ImportError: + pass # types FileContent = str