bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)

This commit is contained in:
Éric Araujo 2017-10-12 12:28:55 -04:00 committed by GitHub
parent cba9a0c6de
commit 03b9537dc5
3 changed files with 16 additions and 7 deletions

View file

@ -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')