Did I find the right examples for you? yes no

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

src/p/y/python-libdiscid-0.4.1/libdiscid/compat/discid.py   python-libdiscid(Download)
  def read(self, device, features=[]):
    self.disc = libdiscid.read(device, functools.reduce(
      operator.or_, (
        _INVERSE_FEATURES[feature]
        for feature in features if feature in FEATURES

src/p/y/python-libdiscid-0.4.1/libdiscid/tests/test_libdiscid.py   python-libdiscid(Download)
  def test_read_None(self):
    try:
      libdiscid.read()
    except (DiscError, NotImplementedError):
      pass