Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 7100f2b58690d0bf43c8eb8cfe1232ce > files > 964

python-sqlobject-2.1.2-2.mga6.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

  <h1 class="pudge-member-page-heading">
    <tt>classinstancemethod</tt>
  </h1>
  <h4 class="pudge-member-page-subheading">
    Acts like a class method when called from a class, like an
instance method when called by an instance.  The method should
take two arguments, 'self' and 'cls'; one of these will be None
depending on how the method was called.
  </h4>
  <p class="pudge-member-parent-link">
    <small>
    The classinstancemethod class is accessible via the
    <a href="module-sqlobject.declarative.html">
      <tt>sqlobject.declarative</tt>
    </a> module.
    </small>
  </p>
  <div id="pudge-section-nav">
  <ul>
    <li>
      <span class="pudge-missing-section-link">
        Attributes
      </span>
    </li><li>
      <a href="#methods" class="pudge-section-link">
        Methods (5)
      </a>
    </li>
    <li>
      <a href="sqlobject/declarative.py.html?f=44&amp;l=57#44" class="pudge-section-link">
        Source
      </a>
    </li>
  </ul>
  </div>
  <div style="clear: left"></div>
  <hr>
    <a name="methods"></a>
    <h2>Methods</h2>
    <div class="pudge-member routine alias">
    <a name="__sizeof__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.declarative.classinstancemethod.html#__sizeof__" class="pudge-obj-link">__sizeof__</a>(...)</tt>
      <a href="__builtin__.py.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      __sizeof__() -> int
size of object in memory, in bytes
    </p>
    </div>
  </div><div class="pudge-member routine alias">
    <a name="__format__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.declarative.classinstancemethod.html#__format__" class="pudge-obj-link">__format__</a>(...)</tt>
      <a href="__builtin__.py.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      default object formatter
    </p>
    </div>
  </div><div class="pudge-member routine alias">
    <a name="__subclasshook__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.declarative.classinstancemethod.html#__subclasshook__" class="pudge-obj-link">__subclasshook__</a>(...)</tt>
      <a href="None.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Abstract classes can override this to customize issubclass().
    </p>
    <p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
    </div>
  </div><div class="pudge-member routine ">
    <a name="__init__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.declarative.classinstancemethod.html#__init__" class="pudge-obj-link">__init__</a>(self, func)</tt>
      <a href="sqlobject/declarative.py.html?f=52&amp;l=54#52" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="__get__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.declarative.classinstancemethod.html#__get__" class="pudge-obj-link">__get__</a>(self, obj, type=None)</tt>
      <a href="sqlobject/declarative.py.html?f=55&amp;l=57#55" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div>
  <p>
    <small>
    See 
    <a href="sqlobject/declarative.py.html?f=44&amp;l=57#44" title="sqlobject/declarative.py:44">the source</a>
    for more information.
    </small>
  </p>