Many of these items aren't usable as decorators check the library documentation to determine which to use. Typing starts a decorator and shows potential decorators. The list may not include all user-defined exceptions, but helps you find suitable built-in exceptions quickly: The raise and except statements display lists of classes likely to be error types. import, the list includes members that can be imported from the specified module. import statements display a list of modules that can be imported. If you need one, however, typing the leading double underscore adds these completions to the list: In general, such members should not be accessed directly. Where a completion is supported by all possible types, it is shown without annotation.īy default, "dunder" members (members beginning and ending with a double underscore) are not shown. If a variable could be more than one type, the list includes all possibilities from all types, with extra information to indicate which types support each completion. Member completions appear automatically when you type a period after a variable or value, along with the methods and attributes of the potential types.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |