8000 gh-112205: Support docstring for `@getter` by corona10 · Pull Request #113160 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-112205: Support docstring for @getter #113160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 20, 2023
Prev Previous commit
Next Next commit
Update Lib/test/test_clinic.py
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
corona10 and erlend-aasland authored Dec 19, 2023
commit cb6f499619c1637326b525e4eb6a13b8a632973b
2 changes: 1 addition & 1 deletion Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,7 @@ class Foo "" ""
self.expect_failure(block, expected_error, lineno=3)

def test_getset_no_class(self):
for annotation in ("@getter", "@setter"):
for annotation in "@getter", "@setter":
with self.subTest(annotation=annotation):
block = f"""
module m
Expand Down
0