mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 01:49:50 +03:00
Dropped Python 3.4 compat import
This commit is contained in:
parent
ffe7a79ad0
commit
cffacc268d
|
@ -1,6 +1,7 @@
|
|||
import datetime
|
||||
import os
|
||||
import re
|
||||
import typing
|
||||
import unittest
|
||||
import uuid
|
||||
from decimal import ROUND_DOWN, ROUND_UP, Decimal
|
||||
|
@ -18,11 +19,6 @@ from rest_framework import exceptions, serializers
|
|||
from rest_framework.compat import ProhibitNullCharactersValidator
|
||||
from rest_framework.fields import DjangoImageField, is_simple_callable
|
||||
|
||||
try:
|
||||
import typing
|
||||
except ImportError:
|
||||
typing = False
|
||||
|
||||
|
||||
# Tests for helper functions.
|
||||
# ---------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user