Fixes #4043, fixes #619 These include nested functions and methods. I think the nested function case quite clearly improves readability. I think the method case improves consistency, adherence to PEP 8 and resolves a point of contention.
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>