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 R
By Guest on 13th November 2022 09:34:24 PM | Syntax: PYTHON | Views: 207



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  1. Glossary - R
  2. ********
  3.  
  4. reference count
  5.    The number of references to an object.  When the reference count of
  6.    an object drops to zero, it is deallocated.  Reference counting is
  7.    generally not visible to Python code, but it is a key element of
  8.    the *CPython* implementation.  Programmers can call the
  9.    "sys.getrefcount()" function to return the reference count for a
  10.    particular object.
  11.  
  12. regular package
  13.    A traditional *package*, such as a directory containing an
  14.    "__init__.py" file.
  15.  
  16.    See also *namespace package*.
  17.  
  18. __slots__
  19.    A declaration inside a class that saves memory by pre-declaring
  20.    space for instance attributes and eliminating instance
  21.    dictionaries.  Though popular, the technique is somewhat tricky to
  22.    get right and is best reserved for rare cases where there are large
  23.    numbers of instances in a memory-critical application.
















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