15.8: Glossary

Think Python 2ed. · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC 3.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    15.8: Glossary
    class:
    A programmer-defined type. A class definition creates a new class object.
    class object:
    An object that contains information about a programmer-defined type. The class object can be used to create instances of the type.
    instance:
    An object that belongs to a class.
    instantiate:
    To create a new object.
    attribute:
    One of the named values associated with an object.
    embedded object:
    An object that is stored as an attribute of another object.
    shallow copy:
    To copy the contents of an object, including any references to embedded objects; implemented by the copy function in the copy module.
    deep copy:
    To copy the contents of an object as well as any embedded objects, and any objects embedded in them, and so on; implemented by the deepcopy function in the copy module.
    object diagram:
    A diagram that shows objects, their attributes, and the values of the attributes.

    This page titled 15.8: Glossary was last modified on Sat, 02 Apr 2022 22:01:59 GMT and is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Allen B. Downey (Green Tea Press) via source content that was edited to the style and standards of the LibreTexts platform.