I think I do make that clear in the doc string for `local`.  But you are correct that if the wcs is not uniform, then the result is always a `JacobiandWCS`.  Similarly for `affine`. 

Perhaps here it would be appropriate to write
```
The returned local_wcs is usually a JacobianWCS, but see the docstring for local for more details.
```