Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dg-pb committed Jan 5, 2025
1 parent 26dded8 commit e8d7521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Doc/library/functools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@ The :mod:`functools` module defines the following functions:
>>> remove_first_dear(message)
'Hello, dear world!'

:data:`!Placeholder` has no special treatment when used in a keyword
argument to :func:`!partial`.
:data:`!Placeholder` cannot be passed to :func:`!partial` as a keyword argument.

.. versionchanged:: 3.14
Added support for :data:`Placeholder` in positional arguments.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:data:`functools.Placeholder` is restricted for :func:`functools.partial` keyword vaules.
:data:`functools.Placeholder` cannot be passed to :func:`functools.partial` as a keyword argument.

0 comments on commit e8d7521

Please sign in to comment.