File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ Other language changes
175175* Several error messages incorrectly using the term "argument" have been corrected.
176176 (Contributed by Stan Ulbrych in :gh: `133382 `.)
177177
178- * The interpreter now provides a suggestion
179- when :func: `delattr ` fails due to a missing attribute.
178+ * The interpreter now provides a suggestion tries to provide a suggestion when
179+ :func: `delattr ` fails due to a missing attribute.
180180 When an attribute name that closely resembles an existing attribute is used,
181181 the interpreter will suggest the correct attribute
182182 name in the error message. For example:
Original file line number Diff line number Diff line change @@ -4701,8 +4701,8 @@ class PurePythonGetattrSuggestionFormattingTests(
47014701 unittest .TestCase ,
47024702):
47034703 """
4704- Same set of tests (for attribute access) as above using the pure Python implementation of
4705- traceback printing in traceback.py.
4704+ Same set of tests (for attribute access) as above using the pure Python
4705+ implementation of traceback printing in traceback.py.
47064706 """
47074707
47084708
@@ -4712,8 +4712,8 @@ class PurePythonDelattrSuggestionFormattingTests(
47124712 unittest .TestCase ,
47134713):
47144714 """
4715- Same set of tests (for attribute deletion) as above using the pure Python implementation of
4716- traceback printing in traceback.py.
4715+ Same set of tests (for attribute deletion) as above using the pure Python
4716+ implementation of traceback printing in traceback.py.
47174717 """
47184718
47194719
@@ -4724,7 +4724,8 @@ class CPythonGetattrSuggestionFormattingTests(
47244724 unittest .TestCase ,
47254725):
47264726 """
4727- Same set of tests (for attribute access) as above but with Python's internal traceback printing.
4727+ Same set of tests (for attribute access) as above but with Python's
4728+ internal traceback printing.
47284729 """
47294730
47304731
@@ -4735,7 +4736,8 @@ class CPythonDelattrSuggestionFormattingTests(
47354736 unittest .TestCase ,
47364737):
47374738 """
4738- Same set of tests (for attribute deletion) as above but with Python's internal traceback printing.
4739+ Same set of tests (for attribute deletion) as above but with Python's
4740+ internal traceback printing.
47394741 """
47404742
47414743class MiscTest (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments