Skip to content

Commit 8e3abed

Browse files
authored
Fix get_real_method; don't use pyversion_build (#841)
* Fix get_real_method; don't use pyversion_build * Bump to 1.92.1
1 parent 12b1996 commit 8e3abed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PyCall"
22
uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
33
authors = ["Steven G. Johnson <[email protected]>", "Yichao Yu <[email protected]>", "Takafumi Arakaki <[email protected]>", "Simon Kornblith <[email protected]>", "Páll Haraldsson <[email protected]>", "Jon Malmaud <[email protected]>", "Jake Bolewski <[email protected]>", "Keno Fischer <[email protected]>", "Joel Mason <[email protected]>", "Jameson Nash <[email protected]>", "The JuliaPy development team"]
4-
version = "1.92.0"
4+
version = "1.92.1"
55

66
[deps]
77
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"

src/PyCall.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ https://github.com/ipython/ipython/blob/5.9.0/IPython/utils/dir2.py
921921
"""
922922
function get_real_method(obj, name)
923923
ispynull(obj) && return nothing
924-
@static if pyversion_build < v"3"
924+
@static if pyversion < v"3"
925925
pyisinstance(obj, @pyglobalobj :PyType_Type) && return nothing
926926
end
927927

0 commit comments

Comments
 (0)