Skip to content

Commit

Permalink
Fixed some words
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAihopGG committed Jul 1, 2024
1 parent a94d526 commit dee4e38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/udeque.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# UDeque

## Introduction

UDeque is class which is simplifying working with deque.
Expand All @@ -14,7 +13,7 @@ from ufpy import UDeque

For creating UDeque you should use this code:
```python
d = UDeque((1, 2, 3, 4, 5))
d = UDeque(1, 2, 3, 4, 5)
```

## Get end/begin
Expand Down Expand Up @@ -91,7 +90,7 @@ d.popbegin(7) # [1, 2, 3, 4, 5]
You can get the length of the deque using the built-in len() function.
```python
d2 = UDeque((1, 2, 3, 4, 5))
d2 = UDeque(1, 2, 3, 4, 5)
len(d2) # 5
```
Expand Down

0 comments on commit dee4e38

Please sign in to comment.