8000 DOC Add versionadded to set_config (#12196) · sjtrny/scikit-learn@2cf145d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2cf145d

Browse files
DOC Add versionadded to set_config (scikit-learn#12196)
1 parent 239482f commit 2cf145d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def get_config():
2323
def set_config(assume_finite=None, working_memory=None):
2424
"""Set global scikit-learn configuration
2525
26+
.. versionadded:: 0.19
27+
2628
Parameters
2729
----------
2830
assume_finite : bool, optional
@@ -37,7 +39,6 @@ def set_config(assume_finite=None, working_memory=None):
3739
computation time and memory on expensive operations that can be
3840
performed in chunks. Global default: 1024.
3941
40-
.. versionadded:: 0.19
4142
"""
4243
if assume_finite is not None:
4344
_global_config['assume_finite'] = assume_finite

0 commit comments

Comments
 (0)
0