Did I find the right examples for you? yes no

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

src/p/r/Products.Silva-3.0.4/Products/Silva/Versioning.py   Products.Silva(Download)
 
        version = self._getOb(self._previous_versions[-1][0])
        notify(events.ContentClosedEvent(version))
 
    security.declareProtected(SilvaPermissions.ChangeSilvaContent,
                self._previous_versions.append(self._public_version)
                notify(events.ContentClosedEvent(
                        self._getOb(self._public_version[0], None)))
            self._public_version = self._approved_version
            if self._first_publication_date is None: