diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-10-12 16:33:05 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@users.noreply.github.com> | 2017-10-12 16:33:05 (GMT) |
commit | 205dd4e14de77f9c8ed2903ddebbcf9968bbb6a9 (patch) | |
tree | 149334cae0030e9085be8c81a0b05fc2cadb7c67 /Lib | |
parent | 5f908005ce16b06d5af7b413264009c4b062f33c (diff) | |
download | cpython-205dd4e14de77f9c8ed2903ddebbcf9968bbb6a9.zip cpython-205dd4e14de77f9c8ed2903ddebbcf9968bbb6a9.tar.gz cpython-205dd4e14de77f9c8ed2903ddebbcf9968bbb6a9.tar.bz2 |
[3.6] bpo-31567: add or fix decorator markup in docs (GH-3959) (GH-3966)
(cherry picked from commit 0e61e67a57deb4abc677808201d7cf3c38138e02)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_typing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index a3b2ea7..ffefa8e 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -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') |