Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/n/a/Naked-0.1.30/lib/Naked/toolshed/casts.py   Naked(Download)
#!/usr/bin/env python
# encoding: utf-8
# tests in test_CASTS.py
from Naked.toolshed.types import NakedObject, XFSet, XDict, XList, XQueue, XSet, XString, XTuple
def xfset(set_arg, attributes={}):
        return XFSet(set_arg, attributes)
    except TypeError:
        raise TypeError("Attempted to cast to a XSet with an incompatible type")