Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-281

Doc - python sdk typo in exceptions example

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.0.0
    • None
    • None
    • Security Level: Public
    • None

    Description

      http://docs.couchbase.com/sdk-api/couchbase-python-client-2.0.0-beta/api/exceptions.html

       
      try:
          cb.get("foo")
      except CouchbaseError as e:
          if e.is_data and isintance(e, NotFoundError):
              # handle not found
              pass
          elif e.is_network:
      

      isintance => isinstance

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty