Skip to content

Commit

Permalink
Remove legacy support in configparser module.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 8, 2023
1 parent e7f241d commit 3c5a6f6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions configparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""Convenience module importing everything from backports.configparser."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from backports.configparser import (
RawConfigParser,
Expand All @@ -31,6 +24,7 @@
MAX_INTERPOLATION_DEPTH,
)

# names missing from __all__ imported anyway for backwards compatibility.
from backports.configparser import Error, _UNSET, _default_dict, _ChainMap # noqa: F401

__all__ = (
Expand All @@ -55,5 +49,3 @@
"DEFAULTSECT",
"MAX_INTERPOLATION_DEPTH",
)

# NOTE: names missing from __all__ imported anyway for backwards compatibility.

0 comments on commit 3c5a6f6

Please sign in to comment.