File: inspect.py

package info (click to toggle)
python-pyflow 1.1.20-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 996 kB
  • sloc: python: 4,154; sh: 219; ansic: 15; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 110 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from __future__ import print_function

def f(x) :
  return x + 2

import inspect
print(inspect.getsource(f))