Differences between revisions 1 and 2
Revision 1 as of 2007-06-26 05:39:25
Size: 1278
Editor: HuangYi
Comment:
Revision 2 as of 2007-06-26 05:54:47
Size: 1392
Editor: HuangYi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
========
Line 14: Line 14:

定义类
=======

继承
=======

多重继承
---------

属性
=======

方法
=======
Rendering of reStructured text is not possible, please install Docutils.
:status: 草稿|校对|正式;AuthorName;完成度15%;

.. contents::
  :depth: 3

========
类与实例
========

通常大家说的都是"类与对象",不过 python 中万物皆对象,对象这个词语不免让人产生误会,实际上我们这里要讨论的是用户自定义的类和这些类的实例,类与实例都是对象这个大概念中的一种。

定义类
=======

继承
=======

多重继承
---------

属性
=======

方法
=======

小结
=====


练习
--------------------


引用::

    This is the main heading
    ========================

    :Status: Draft

MoinMoin 链接: 

- `page with a ReStructuredText primer <HelpOnParsers/ReStructuredText/RstPrimer>`_ 
- `use of ReST in MoinMoin <HelpOnParsers/ReStructuredText>`_.

外部链接:

- `Docutils-Users mailing list`_
- `Docutils project web site`_

.. [#] If that relative link doesn't work, try the master document:
   http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html.
.. _Docutils-Users mailing list:
   http://lists.sourceforge.net/lists/listinfo/docutils-users
.. _Docutils project web site: http://docutils.sourceforge.net/




.. macro:: [[PageComment2(nosmiley=1, notify=1)]]


.. macro:: -- HuangYi [[[DateTime(2007-06-26T05:39:25Z)]]]

ObpLovelyPython/LpyQLearn-5-object (last edited 2009-12-25 07:18:49 by localhost)