Skip to content

Commit

Permalink
organization
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeMarcelino committed Jul 11, 2024
1 parent d858370 commit c5dfe18
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 135k-keyword-only-arguments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Keyword Only Arguments
#python #programming #functions #howtodo

- * and ** [[a1mq-unpacking-sequences-and-iterables]]
- `*` and `**` [[a1mq-unpacking-sequences-and-iterables]]

```python
def tag(name, *content, class_=None, **attrs):
Expand Down
1 change: 0 additions & 1 deletion a8bt-high-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

- [[ey8t-lambda-function]]#
- [[4fmy-packages-for-functional-programming-in-python]]#
-
## Partial

- Receives one `callable` and `arguments` with predetermined values
Expand Down
2 changes: 1 addition & 1 deletion pcvu-sort-and-sorted.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

- `Sort` and `sorted` in python are to organize elements in a specific order
- They have two `keywords`: `key` and `reverse`
* key: receive a function with one argument to be pass the element to be compared to other
* key: receive a function with one argument to be pass the element to be compared to other: [[a8bt-high-order-functions]]
* reverse: if the order is reversed
- `Sort` does not return a new object while but `sorted` returns, so the former is `in-place`, in that way less memory
is used.
Expand Down
2 changes: 1 addition & 1 deletion tds4-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
- [[iexf-del]]#
- [[a8bt-high-order-functions]]#
- [[dcdy-callable-objects]]#
- [[135k-keyword-only-arguments]]
- [[135k-keyword-only-arguments]]#

0 comments on commit c5dfe18

Please sign in to comment.