]> granicus.if.org Git - python/commit
MNT: set stacklevel in the getfullargspec deprecation warning to 2 (GH-13029)
authorThomas A Caswell <tcaswell@gmail.com>
Wed, 1 May 2019 15:12:35 +0000 (11:12 -0400)
committerPablo Galindo <Pablogsal@gmail.com>
Wed, 1 May 2019 15:12:34 +0000 (11:12 -0400)
commit18029d80bde1743da6900600633f0fa54d7c1044
tree20d89ab52babdc76962d2d5e3f2ca3ed766d87f7
parent1a9f0d8efded4bf37c864ed572beff28c43c7c77
MNT: set stacklevel in the getfullargspec deprecation warning to 2 (GH-13029)

This is consistent with the rest of the `warnings.warn` usage in the
inspect.py module and aids identifying code that needs to be fixed.

This warning came in via d5d2b4546939b98244708e5bb0cfccd55b99d244
Lib/inspect.py