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:
commit
24515c2cf0
3 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue