A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-December/031421.html below:

[Python-checkins] python/dist/src/Lib/test test_types.py,1.42,1.43

[Python-checkins] python/dist/src/Lib/test test_types.py,1.42,1.43mwh@users.sourceforge.net mwh@users.sourceforge.net
Thu, 05 Dec 2002 13:32:34 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv15146/Lib/test

Modified Files:
	test_types.py 
Log Message:
The final tweaks before closing

[ 633152 ] list slice ass ignores subtypes of list

Allow arbitrary sequences on the RHS of extended slices.


Index: test_types.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_types.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** test_types.py	4 Dec 2002 07:32:25 -0000	1.42
--- test_types.py	5 Dec 2002 21:32:32 -0000	1.43
***************
*** 431,434 ****
--- 431,438 ----
  vereq(a, b)
  vereq(a, c)
+ a = range(10)
+ a[::2] = tuple(range(5))
+ vereq(a, [0, 1, 1, 3, 2, 5, 3, 7, 4, 9])
+ 
  
  print '6.6 Mappings == Dictionaries'





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4