Fix some warnings.

This commit is contained in:
Dave Halter committed 2017-05-25 12:24:21 -04:00
1 parent 6a320147ac
commit ef2e2f343e
7 files changed
+20 -16

No files matched your search

+1 -1
View File
@@ -425,7 +425,7 @@ def defined_names(source, path=None, encoding='utf-8'):
Use :func:`names` instead.
.. todo:: Remove!
"""
warnings.warn("Use call_signatures instead.", DeprecationWarning)
warnings.warn("Use names instead.", DeprecationWarning)
return names(source, path, encoding)