array_construct.py 226 B

12345678910
  1. # test construction of array from array with float type
  2. try:
  3. from array import array
  4. except ImportError:
  5. print("SKIP")
  6. raise SystemExit
  7. print(array('f', array('h', [1, 2])))
  8. print(array('d', array('f', [1, 2])))