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

All Samples(98)  |  Call(80)  |  Derive(6)  |  Import(12)

src/t/h/thug-HEAD/src/DOM/W3C/Element.py   thug(Download)
    import urlparse
 
from Attr import Attr
from Node import Node
from NodeList import NodeList
    def getAttributeNode(self, name):
        return Attr(self.doc, self, name) if self.tag.has_attr(name) else None
 
    def setAttributeNode(self, attr):
        self.tag[attr.name] = attr.value

src/t/h/thug-HEAD/src/DOM/W3C/Document.py   thug(Download)
from Text import Text
from CDATASection import CDATASection
from Attr import Attr
from EntityReference import EntityReference
from ProcessingInstruction import ProcessingInstruction
    def createAttribute(self, name):
        return Attr(self, None, name)
 
    def createEntityReference(self, name):
        return EntityReference(self, name)

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/ObjRefAttr.py   Webware-for-Python(Download)
from Attr import Attr
 
 
def objRefJoin(klassId, serialNum):
    """Given a klass id and object serial number, return a 64-bit obj ref value (e.g., a long)."""
class ObjRefAttr(Attr):
    """This is an attribute that refers to another user-defined object.
 
    For a list of objects, use ListAttr.
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/ListAttr.py   Webware-for-Python(Download)
from Attr import Attr
 
 
class ListAttr(Attr):
    """This is an attribute that refers to a set of other user-defined objects.

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/EnumAttr.py   Webware-for-Python(Download)
from Attr import Attr
 
 
class EnumAttr(Attr):
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/DateTimeAttrs.py   Webware-for-Python(Download)
from Attr import Attr
 
 
class AnyDateTimeAttr(Attr):
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/BasicTypeAttr.py   Webware-for-Python(Download)
from Attr import Attr
 
 
class BasicTypeAttr(Attr):
    """Basic type attribute.

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/AnyDateTimeAttr.py   Webware-for-Python(Download)
from Attr import Attr
 
 
class AnyDateTimeAttr(Attr):
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/Klasses.py   Webware-for-Python(Download)
from ModelObject import ModelObject
from Model import Model, ModelError
from Klass import Klass
from Attr import Attr
from MiscUtils import NoDefault