~vil/pydev/upstream

« back to all changes in this revision

Viewing changes to org.python.pydev.jython/Lib/xml/dom/Comment.py

  • Committer: Vladimír Lapáček
  • Date: 2006-08-30 18:38:44 UTC
  • Revision ID: vladimir.lapacek@gmail.com-20060830183844-f4d82c1239a7770a
Initial import of upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
########################################################################
 
2
#
 
3
# File Name:            Comment.py
 
4
#
 
5
# Documentation:        http://docs.4suite.org/4DOM/Comment.py.html
 
6
#
 
7
"""
 
8
WWW: http://4suite.org/4DOM         e-mail: support@4suite.org
 
9
 
 
10
Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
 
11
See  http://4suite.org/COPYRIGHT  for license and copyright information
 
12
"""
 
13
 
 
14
from xml.dom import Node
 
15
from CharacterData import CharacterData
 
16
 
 
17
class Comment(CharacterData):
 
18
    nodeType = Node.COMMENT_NODE
 
19
 
 
20
    def __init__(self,ownerDocument,data):
 
21
        CharacterData.__init__(self, ownerDocument, data)
 
22
        self.__dict__['__nodename'] = '#comment'