Coder Social home page Coder Social logo

Comments (1)

qiwsir avatar qiwsir commented on July 22, 2024

ok,我再思考一下,怎样阐述更好,谢谢。

在 2016年5月7日 下午4:48,lambdaplus [email protected]写道:

这个例子说明,在实例化之后,实例变量girl传给个self。但是,提醒读者,千万不要用上面的修改了的那个方式。因为那样写使类没有独立性,这是大忌。

这个例子说明,在实例化之后,实例变量girl传给个self。但是,提醒读者,千万不要用上面的修改了的那个方式。因为那样写使类没有独立性,那个类就只能被实例化成名为girl的变量,若是想要实例化为boy就会报错,这是大忌。

这样是更直白点呀还是啰嗦呀,齐老师。


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#100

QiWei

from starterlearningpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.