mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Removed the new module
Removed a lot of types from the 'types' module that are available through builtins.
This commit is contained in:
parent
ceee0773d2
commit
c9543e4233
10 changed files with 18 additions and 198 deletions
|
@ -364,7 +364,7 @@ class TestClassesAndFunctions(unittest.TestCase):
|
|||
formatted='(*arg1, arg2=1)')
|
||||
|
||||
self.assertFullArgSpecEquals(mod2.annotated, ['arg1'],
|
||||
ann_e={'arg1':types.ListType},
|
||||
ann_e={'arg1' : list},
|
||||
formatted='(arg1: list)')
|
||||
|
||||
def test_getargspec_method(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue