Display Filters

Classic+

To find symbols by name, type into the Filter symbols field at the top of the Source Browser. The browser then lists only the symbols whose names contain the text, together with the modules and classes that hold them, expanded so the matches show. Separate several fragments with spaces to match symbols that contain each of them, as in Find Symbol in Project in the Source menu. A matching module or class is listed with all its contents. Press Escape to clear the filter, or Down to move to the first match.

The display can also be filtered from the Options menu (the ⋯ button) according to Symbol Type and Origin, and also according to the symbol's intended scope of use, which is defined as follows:

Public symbols are accessible to any user of a module or instance. These are names that have no leading underscores, such as Print or kMaxListLength.

Semi-Private symbols are intended for use only within related modules or from sub-classes or closely related classes. These are names that have one leading underscore, such as _NotifyError or _gMaxCount. Python doesn't enforce usage of these symbols, except to omit them in from mod import *. However, they are helpful in writing clean, well-structured code and are recommended in PEP 8.

Private symbols are intended to be private to a module or class. These are names that have two leading underscores, such as __ConstructNameList or __id_seed. Python omits these in from mod import *. When used in classes, they cannot be accessed from outside of the methods of the class where they are defined. See PEP 8 for details.