Use built-in open().

On Python 3, `open is io.open`.
This commit is contained in:
Aymeric Augustin
2019-12-22 18:26:42 +01:00
parent d6eaf4e6d2
commit 1c62e87b34
29 changed files with 0 additions and 29 deletions

View File

@@ -19,7 +19,6 @@ import copy
import json
import logging
import os
from io import open
from .configuration_auto import ALL_PRETRAINED_CONFIG_ARCHIVE_MAP
from .file_utils import (