1
0
Fork 0
forked from github/pelican

Merge pull request #2476 from oulenz/collections

Try importing from collections.abc for compatibility with Python 3.8
This commit is contained in:
Justin Mayer 2019-04-25 14:05:31 +02:00 committed by GitHub
commit 24515c2cf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View file

@ -2,7 +2,10 @@
from __future__ import print_function, unicode_literals
import argparse
import collections
try:
import collections.abc as collections
except ImportError:
import collections
import locale
import logging
import multiprocessing