diff --git a/Project.toml b/Project.toml index 5399016f..1e579cad 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PyCall" uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" authors = ["Steven G. Johnson ", "Yichao Yu ", "Takafumi Arakaki ", "Simon Kornblith ", "Páll Haraldsson ", "Jon Malmaud ", "Jake Bolewski ", "Keno Fischer ", "Joel Mason ", "Jameson Nash ", "The JuliaPy development team"] -version = "1.92.0" +version = "1.92.1" [deps] Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d" diff --git a/src/PyCall.jl b/src/PyCall.jl index fe0f2ae9..ab4de571 100644 --- a/src/PyCall.jl +++ b/src/PyCall.jl @@ -921,7 +921,7 @@ https://github.com/ipython/ipython/blob/5.9.0/IPython/utils/dir2.py """ function get_real_method(obj, name) ispynull(obj) && return nothing - @static if pyversion_build < v"3" + @static if pyversion < v"3" pyisinstance(obj, @pyglobalobj :PyType_Type) && return nothing end