The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Python Glossary: terms starting with letter C
By Guest on 13th November 2022 01:13:11 AM | Syntax: PYTHON | Views: 199



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  1. Glossary
  2. ********
  3.  
  4. callable
  5.    A callable is an object that can be called, possibly with a set of
  6.    arguments (see *argument*), with the following syntax:
  7.  
  8.       callable(argument1, argument2, ...)
  9.  
  10.    A *function*, and by extension a *method*, is a callable. An
  11.    instance of a class that implements the "__call__()" method is also
  12.    a callable.
  13.  
  14. callback
  15.    A subroutine function which is passed as an argument to be executed
  16.    at some point in the future.
  17.  
  18. class
  19.    A template for creating user-defined objects. Class definitions
  20.    normally contain method definitions which operate on instances of
  21.    the class.
  22.  
  23. class variable
  24.    A variable defined in a class and intended to be modified only at
  25.    class level (i.e., not in an instance of the class).
  26.  
  27. complex number
  28.    An extension of the familiar real number system in which all
  29.    numbers are expressed as a sum of a real part and an imaginary
  30.    part.  Imaginary numbers are real multiples of the imaginary unit
  31.    (the square root of "-1"), often written "i" in mathematics or "j"
  32.    in engineering.  Python has built-in support for complex numbers,
  33.    which are written with this latter notation; the imaginary part is
  34.    written with a "j" suffix, e.g., "3+1j".  To get access to complex
  35.    equivalents of the "math" module, use "cmath".  Use of complex
  36.    numbers is a fairly advanced mathematical feature.  If you're not
  37.   aware of a need for them, it's almost certain you can safely ignore
  38.    them.
  39.  
  40. context manager
  41.    An object which controls the environment seen in a "with" statement
  42.    by defining "__enter__()" and "__exit__()" methods. See **PEP
  43.    343**.
  44.  
  45. context variable
  46.    A variable which can have different values depending on its
  47.    context. This is similar to Thread-Local Storage in which each
  48.    execution thread may have a different value for a variable.
  49.    However, with context variables, there may be several contexts in
  50.    one execution thread and the main usage for context variables is to
  51.    keep track of variables in concurrent asynchronous tasks. See
  52.    "contextvars".
  53.  
  54. contiguous
  55.    A buffer is considered contiguous exactly if it is either
  56.    *C-contiguous* or *Fortran contiguous*.  Zero-dimensional buffers
  57.    are C and Fortran contiguous.  In one-dimensional arrays, the items
  58.    must be laid out in memory next to each other, in order of
  59.    increasing indexes starting from zero.  In multidimensional
  60.    C-contiguous arrays, the last index varies the fastest when
  61.    visiting items in order of memory address.  However, in Fortran
  62.    contiguous arrays, the first index varies the fastest.
  63.  
  64. coroutine
  65.    Coroutines are a more generalized form of subroutines. Subroutines
  66.    are entered at one point and exited at another point.  Coroutines
  67.    can be entered, exited, and resumed at many different points.  They
  68.    can be implemented with the "async def" statement.  See also **PEP
  69.    492**.
  70.  
  71. coroutine function
  72.    A function which returns a *coroutine* object.  A coroutine
  73.    function may be defined with the "async def" statement, and may
  74.    contain "await", "async for", and "async with" keywords.  These
  75.    were introduced by **PEP 492**.
  76.  
  77. CPython
  78.    The canonical implementation of the Python programming language, as
  79.    distributed on python.org.  The term "CPython" is used when
  80.    necessary to distinguish this implementation from others such as
  81.    Jython or IronPython.
















Python software and documentation are licensed under the PSF License Agreement.
Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Agreement and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses. The licenses are listed with code falling under that license. See Licenses and Acknowledgements for Incorporated Software for an incomplete list of these licenses.

Python and it's documentation is:
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
Copyright © 2000 BeOpen.com. All rights reserved.
Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.

See History and License for complete license and permissions information:
https://docs.python.org/3/license.html#psf-license
  • Recent Pastes