mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)
This commit is contained in:
parent
cba9a0c6de
commit
03b9537dc5
3 changed files with 16 additions and 7 deletions
|
@ -1471,8 +1471,8 @@ class ForwardRefTests(BaseTestCase):
|
|||
def test_meta_no_type_check(self):
|
||||
|
||||
@no_type_check_decorator
|
||||
def magic_decorator(deco):
|
||||
return deco
|
||||
def magic_decorator(func):
|
||||
return func
|
||||
|
||||
self.assertEqual(magic_decorator.__name__, 'magic_decorator')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue