From 7fb913c80555594a6dd756733fdb5869d5dba213 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 23 Oct 2017 08:53:42 -0400 Subject: [PATCH] Removed Python 2 comment in ValidationError. --- django/core/exceptions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 86a3988585..0e85397b9c 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -102,8 +102,6 @@ class ValidationError(Exception): list or dictionary can be an actual `list` or `dict` or an instance of ValidationError with its `error_list` or `error_dict` attribute set. """ - - # PY2 can't pickle naive exception: http://bugs.python.org/issue1692335. super().__init__(message, code, params) if isinstance(message, ValidationError):