Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/r/Products.ManagableIndex-2.1.5/Products/ManagableIndex/Utils.py   Products.ManagableIndex(Download)
  #  loop in 'mx.DateTime's C code when *value* is an 'mx.DateTime.DateTime'
  #  instance.
  if isinstance(value, (datetime.datetime, datetime.date)): value = value.isoformat()
  elif not isinstance(value, (int, float, str, unicode)):
    # DateTime cannot handle other argument types