@@ -316,7 +316,7 @@ def __init__(self, source=None, filename=None):
316316deffilename(self):
317317"""Deprecated, use `source'."""
318318warnings.warn(
319-"The 'filename' attribute will be removed in future versions. "
319+"The 'filename' attribute will be removed in Python 3.12. "
320320"Use 'source' instead.",
321321DeprecationWarning, stacklevel=2
322322 )
@@ -326,7 +326,7 @@ def filename(self):
326326deffilename(self, value):
327327"""Deprecated, user `source'."""
328328warnings.warn(
329-"The 'filename' attribute will be removed in future versions. "
329+"The 'filename' attribute will be removed in Python 3.12. "
330330"Use 'source' instead.",
331331DeprecationWarning, stacklevel=2
332332 )
@@ -757,7 +757,7 @@ def read_dict(self, dictionary, source='<dict>'):
757757defreadfp(self, fp, filename=None):
758758"""Deprecated, use read_file instead."""
759759warnings.warn(
760-"This method will be removed in future versions. "
760+"This method will be removed in Python 3.12. "
761761"Use 'parser.read_file()' instead.",
762762DeprecationWarning, stacklevel=2
763763 )
@@ -1232,7 +1232,7 @@ def __init__(self, *args, **kwargs):
12321232super().__init__(*args, **kwargs)
12331233warnings.warn(
12341234"The SafeConfigParser class has been renamed to ConfigParser "
1235-"in Python 3.2. This alias will be removed in future versions."
1235+"in Python 3.2. This alias will be removed in Python 3.12."
12361236" Use ConfigParser directly instead.",
12371237DeprecationWarning, stacklevel=2
12381238 )