Coverage for sources/classcore/__/doctab.py: 100%
3 statements
« prev ^ index » next coverage.py v7.8.2, created at 2025-06-11 02:31 +0000
« prev ^ index » next coverage.py v7.8.2, created at 2025-06-11 02:31 +0000
1# vim: set filetype=python fileencoding=utf-8:
2# -*- coding: utf-8 -*-
4#============================================================================#
5# #
6# Licensed under the Apache License, Version 2.0 (the "License"); #
7# you may not use this file except in compliance with the License. #
8# You may obtain a copy of the License at #
9# #
10# http://www.apache.org/licenses/LICENSE-2.0 #
11# #
12# Unless required by applicable law or agreed to in writing, software #
13# distributed under the License is distributed on an "AS IS" BASIS, #
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15# See the License for the specific language governing permissions and #
16# limitations under the License. #
17# #
18#============================================================================#
21''' Docstring fragments. '''
24from . import imports as __
27_FragmentsTable: __.typx.TypeAlias = __.cabc.Mapping[ str, str ]
28fragments: _FragmentsTable = __.types.MappingProxyType( {
30 'cfc class conceal':
31 ''' By default, conceals non-public class attributes. ''',
33 'cfc class protect':
34 ''' By default, protects class attributes. ''',
36 'cfc dynadoc': ''' Applies Dynadoc decoration to classes. ''',
38 'cfc instance conceal':
39 ''' Produces classes which can conceal instance attributes. ''',
41 'cfc instance protect':
42 ''' Produces classes which can protect instance attributes. ''',
44 'cfc produce dataclass':
45 ''' Produces inheritable dataclasses with keyword-only instantiation. ''',
47 'cfc produce protocol class':
48 ''' Produces :pep:`544` protocol classes. ''',
50 'class concealment':
51 ''' By default, non-public class attributes are invisible. ''',
53 'class protection':
54 ''' By default, class attributes are immutable. ''',
56 'class instance conceal':
57 ''' By default, conceals non-public instance attributes. ''',
59 'class instance protect':
60 ''' By default, protects instance attributes. ''',
62 'dataclass':
63 ''' Inheritable dataclass with keyword-only instantiation. ''',
65 'protocol class':
66 ''' Protocol class (:pep:`544`). Nominal and structural subtyping. ''',
68 'class dynadoc': ''' Is decorated by Dynadoc. ''',
70 'decorators':
71 ''' Sequence of class decorators.
73 Each element takes a class argument and returns a class.
74 ''',
76} )