[3.6] bpo-31567: add or fix decorator markup in docs (GH-3959) (GH-3966)

(cherry picked from commit 0e61e67a57)
This commit is contained in:
Miss Islington (bot) 2017-10-12 09:33:05 -07:00 committed by Éric Araujo
parent 5f908005ce
commit 205dd4e14d
6 changed files with 24 additions and 15 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')