lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Janssen <jans...@parc.com>
Subject Re: how to instantiate a Set?
Date Mon, 23 Feb 2009 08:42:49 GMT
  >>> a = JavaSet(set(['foo', 'bar', 'baz']))

How about letting me initialize JavaSet with a sequence, too?

  >>> a = JavaSet(['foo', 'bar', 'baz'])

Bill


Mime
View raw message