diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2021-10-12 17:43:53 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2021-10-13 21:53:17 (GMT) |
commit | 67f8d20a8e13033818fe3ddcbe6f9beada0b2b16 (patch) | |
tree | 652b3f60eaa096272ba73e677b25f7f6386b74dc /Help/command/list.rst | |
parent | 6bfe5f24da381bda4a7cfc334fe04bc7c7b73abc (diff) | |
download | CMake-67f8d20a8e13033818fe3ddcbe6f9beada0b2b16.zip CMake-67f8d20a8e13033818fe3ddcbe6f9beada0b2b16.tar.gz CMake-67f8d20a8e13033818fe3ddcbe6f9beada0b2b16.tar.bz2 |
Help: clarify list(POP_* <in_out> <in_out>) behavior
Diffstat (limited to 'Help/command/list.rst')
-rw-r--r-- | Help/command/list.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Help/command/list.rst b/Help/command/list.rst index f46641f..9b49cb4 100644 --- a/Help/command/list.rst +++ b/Help/command/list.rst @@ -161,8 +161,9 @@ Inserts elements to the list to the specified location. .. versionadded:: 3.15 If no variable name is given, removes exactly one element. Otherwise, -assign the last element's value to the given variable and removes it, -up to the last variable name given. +with `N` variable names provided, assign the last `N` elements' values +to the given variables and then remove the last `N` values from +``<list>``. .. _POP_FRONT: @@ -173,8 +174,9 @@ up to the last variable name given. .. versionadded:: 3.15 If no variable name is given, removes exactly one element. Otherwise, -assign the first element's value to the given variable and removes it, -up to the last variable name given. +with `N` variable names provided, assign the first `N` elements' values +to the given variables and then remove the first `N` values from +``<list>``. .. _PREPEND: |