Rename build info function to be consistent with rest of the API. (#7553)

This commit is contained in:
Jiaming Yuan
2022-01-14 00:39:28 +08:00
committed by GitHub
parent e94b766310
commit 52277cc3da
4 changed files with 4 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ def build_info() -> dict:
"""
j_info = ctypes.c_char_p()
_check_call(_LIB.XGBBuildInfo(ctypes.byref(j_info)))
_check_call(_LIB.XGBuildInfo(ctypes.byref(j_info)))
assert j_info.value is not None
res = json.loads(j_info.value.decode()) # pylint: disable=no-member
return res