mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #18896: Python function can now have more than 255 parameters.
collections.namedtuple() now supports tuples with more than 255 elements.
This commit is contained in:
parent
14d8b9693b
commit
5bb8b9134b
10 changed files with 33 additions and 49 deletions
|
@ -926,7 +926,7 @@ class SizeofTest(unittest.TestCase):
|
|||
def inner():
|
||||
return x
|
||||
return inner
|
||||
check(get_cell2.__code__, size('6i13P') + 1)
|
||||
check(get_cell2.__code__, size('6i13P') + calcsize('n'))
|
||||
# complex
|
||||
check(complex(0,1), size('2d'))
|
||||
# method_descriptor (descriptor object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue