Skip to content

Commit d2dca4e

Browse files
authored
COSMIT fix python2 -> python3 in comment
1 parent 91129f3 commit d2dca4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/svm/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def _dense_fit(self, X, y, sample_weight, solver_type, kernel,
237237
if isinstance(kernel, six.types.UnicodeType):
238238
kernel = str(kernel)
239239
if six.PY3:
240-
# In python2 ensure kernel is utf8 unicode to prevent a TypeError
240+
# In python3 ensure kernel is utf8 unicode to prevent a TypeError
241241
if isinstance(kernel, bytes):
242242
kernel = str(kernel, 'utf8')
243243

0 commit comments

Comments
 (0)