1class ClassSimplest: 2 pass 3class ClassWithSingleField: 4 a = 1 5class ClassWithJustTheDocstring: 6 """Just a docstring.""" 7class ClassWithInit: 8 def __init__(self): 9 pass 10class ClassWithTheDocstringAndInit: 11 """Just a docstring.""" 12 def __init__(self): 13 pass 14class ClassWithInitAndVars: 15 cls_var = 100 16 def __init__(self): 17 pass 18class ClassWithInitAndVarsAndDocstring: 19 """Test class""" 20 cls_var = 100 21 def __init__(self): 22 pass 23class ClassWithDecoInit: 24 @deco 25 def __init__(self): 26 pass 27class ClassWithDecoInitAndVars: 28 cls_var = 100 29 @deco 30 def __init__(self): 31 pass 32class ClassWithDecoInitAndVarsAndDocstring: 33 """Test class""" 34 cls_var = 100 35 @deco 36 def __init__(self): 37 pass 38class ClassSimplestWithInner: 39 class Inner: 40 pass 41class ClassSimplestWithInnerWithDocstring: 42 class Inner: 43 """Just a docstring.""" 44 def __init__(self): 45 pass 46class ClassWithSingleFieldWithInner: 47 a = 1 48 class Inner: 49 pass 50class ClassWithJustTheDocstringWithInner: 51 """Just a docstring.""" 52 class Inner: 53 pass 54class ClassWithInitWithInner: 55 class Inner: 56 pass 57 def __init__(self): 58 pass 59class ClassWithInitAndVarsWithInner: 60 cls_var = 100 61 class Inner: 62 pass 63 def __init__(self): 64 pass 65class ClassWithInitAndVarsAndDocstringWithInner: 66 """Test class""" 67 cls_var = 100 68 class Inner: 69 pass 70 def __init__(self): 71 pass 72class ClassWithDecoInitWithInner: 73 class Inner: 74 pass 75 @deco 76 def __init__(self): 77 pass 78class ClassWithDecoInitAndVarsWithInner: 79 cls_var = 100 80 class Inner: 81 pass 82 @deco 83 def __init__(self): 84 pass 85class ClassWithDecoInitAndVarsAndDocstringWithInner: 86 """Test class""" 87 cls_var = 100 88 class Inner: 89 pass 90 @deco 91 def __init__(self): 92 pass 93class ClassWithDecoInitAndVarsAndDocstringWithInner2: 94 """Test class""" 95 class Inner: 96 pass 97 cls_var = 100 98 @deco 99 def __init__(self): 100 pass 101 102 103# output 104 105 106class ClassSimplest: 107 pass 108 109 110class ClassWithSingleField: 111 a = 1 112 113 114class ClassWithJustTheDocstring: 115 """Just a docstring.""" 116 117 118class ClassWithInit: 119 def __init__(self): 120 pass 121 122 123class ClassWithTheDocstringAndInit: 124 """Just a docstring.""" 125 126 def __init__(self): 127 pass 128 129 130class ClassWithInitAndVars: 131 cls_var = 100 132 133 def __init__(self): 134 pass 135 136 137class ClassWithInitAndVarsAndDocstring: 138 """Test class""" 139 140 cls_var = 100 141 142 def __init__(self): 143 pass 144 145 146class ClassWithDecoInit: 147 @deco 148 def __init__(self): 149 pass 150 151 152class ClassWithDecoInitAndVars: 153 cls_var = 100 154 155 @deco 156 def __init__(self): 157 pass 158 159 160class ClassWithDecoInitAndVarsAndDocstring: 161 """Test class""" 162 163 cls_var = 100 164 165 @deco 166 def __init__(self): 167 pass 168 169 170class ClassSimplestWithInner: 171 class Inner: 172 pass 173 174 175class ClassSimplestWithInnerWithDocstring: 176 class Inner: 177 """Just a docstring.""" 178 179 def __init__(self): 180 pass 181 182 183class ClassWithSingleFieldWithInner: 184 a = 1 185 186 class Inner: 187 pass 188 189 190class ClassWithJustTheDocstringWithInner: 191 """Just a docstring.""" 192 193 class Inner: 194 pass 195 196 197class ClassWithInitWithInner: 198 class Inner: 199 pass 200 201 def __init__(self): 202 pass 203 204 205class ClassWithInitAndVarsWithInner: 206 cls_var = 100 207 208 class Inner: 209 pass 210 211 def __init__(self): 212 pass 213 214 215class ClassWithInitAndVarsAndDocstringWithInner: 216 """Test class""" 217 218 cls_var = 100 219 220 class Inner: 221 pass 222 223 def __init__(self): 224 pass 225 226 227class ClassWithDecoInitWithInner: 228 class Inner: 229 pass 230 231 @deco 232 def __init__(self): 233 pass 234 235 236class ClassWithDecoInitAndVarsWithInner: 237 cls_var = 100 238 239 class Inner: 240 pass 241 242 @deco 243 def __init__(self): 244 pass 245 246 247class ClassWithDecoInitAndVarsAndDocstringWithInner: 248 """Test class""" 249 250 cls_var = 100 251 252 class Inner: 253 pass 254 255 @deco 256 def __init__(self): 257 pass 258 259 260class ClassWithDecoInitAndVarsAndDocstringWithInner2: 261 """Test class""" 262 263 class Inner: 264 pass 265 266 cls_var = 100 267 268 @deco 269 def __init__(self): 270 pass 271