Return a _pytest._code.Source object for the code object's source only.
(self)
| 107 | return full |
| 108 | |
| 109 | def source(self) -> "Source": |
| 110 | """Return a _pytest._code.Source object for the code object's source only.""" |
| 111 | # return source only for that part of code |
| 112 | return Source(self.raw) |
| 113 | |
| 114 | def getargs(self, var: bool = False) -> Tuple[str, ...]: |
| 115 | """Return a tuple with the argument names for the code object. |