Return a list of numbers Example: ======== C.cmethod(1337, [1, 2]) # => [1, 2, 1337]
(number, lst=[])
| 151 | |
| 152 | def test_issue_966_freestanding(self): |
| 153 | def fun(number, lst=[]): |
| 154 | """ |
| 155 | Return a list of numbers |
| 156 | |
| 157 | Example: |
| 158 | ======== |
| 159 | C.cmethod(1337, [1, 2]) # => [1, 2, 1337] |
| 160 | """ |
| 161 | return lst + [number] |
| 162 | |
| 163 | def fun_annotations(number: int, lst: list[int] = []) -> list[int]: |
| 164 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected