# Quickly recalling the definition of a temporary function to make minor edits?

Suppose you're working with the sage console primarily as a calculator, and define some temporary shorthand function, such as,

```
sage: R = GF(751)
sage: def f(x):
....: return R(x^3-x+188)
```

After I've used this `f`

several times, I may want to change the output to something similar, like `x^3-x+376`

. Is there a quick way to recall the definition of `f`

within the console so that I can edit in the minor change, instead of having to define a new function?