PYTHON-1308 - Don't deprecate "manipulate" param
Can't raise DeprecationWarning if "find(manipulate=True)" since it's the default.
This commit is contained in:
parent
312408e041
commit
9ca77901ab
@ -140,9 +140,6 @@ class Cursor(object):
|
||||
warnings.warn("the 'modifiers' parameter is deprecated",
|
||||
DeprecationWarning, stacklevel=2)
|
||||
validate_is_mapping("modifiers", modifiers)
|
||||
if manipulate:
|
||||
warnings.warn("the 'manipulate' parameter is deprecated",
|
||||
DeprecationWarning, stacklevel=2)
|
||||
if not isinstance(batch_size, integer_types):
|
||||
raise TypeError("batch_size must be an integer")
|
||||
if batch_size < 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user