Skip to content

Commit 0ecfb42

Browse files
committed
update-lpop-rpop-md-files
1 parent 6c79444 commit 0ecfb42

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

commands/lpop.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
Removes and returns the first elements of the list stored at `key`.
2-
31
By default, the command pops a single element from the beginning of the list.
42
When provided with the optional `count` argument, the reply will consist of up
53
to `count` elements, depending on the list's length.
4+
Deletes the list if the last element was popped.
65

76
## Examples
87

commands/rpop.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
Removes and returns the last elements of the list stored at `key`.
2-
31
By default, the command pops a single element from the end of the list.
42
When provided with the optional `count` argument, the reply will consist of up
53
to `count` elements, depending on the list's length.
4+
Deletes the list if the last element was popped.
65

76
## Examples
87

0 commit comments

Comments
 (0)