Skip to content

Commit b0df2fb

Browse files
committed
added newsletter title
1 parent 88f79b8 commit b0df2fb

File tree

154 files changed

+109
-22622
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+109
-22622
lines changed

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# -- General configuration ---------------------------------------------------
2020
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2121

22+
html_title = "Python-World Newsletter's"
23+
2224
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary','sphinx_copybutton']
2325

2426
templates_path = ['_templates']

doc/index.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,4 @@ Python-world Newsletter's
99
.. toctree::
1010
:maxdepth: 2
1111

12-
modules
13-
14-
Indices and tables
15-
==================
16-
17-
* :ref:`genindex`
18-
* :ref:`modindex`
19-
* :ref:`search`
12+
modules

doc/newsletters/2022/WEEK_1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Python-World Newsletter - Jan 2022 - Week 1
2-
############################################
1+
Week 1 - Jan 2022
2+
#################
33

44
Introduction and Highlights
55
---------------------------

doc/newsletters/2023/WEEK_25.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Python-World Newsletter - June 2023, Week 25
2-
############################################
1+
Week 25 - June 2023
2+
###################
33

44
Introduction and Highlights
55
---------------------------

doc/newsletters/2023/WEEK_26.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Python-World Newsletter - June 2023, Week 26
2-
############################################
1+
Week 26 - Jully 2023
2+
####################
33

44
Introduction and Highlights
55
---------------------------
@@ -382,11 +382,12 @@ Ellipses in Python serve multiple purposes, ranging from placeholders for unwrit
382382
7. 🧩 Understanding `*args` and `**kwargs` in Python
383383
*****************************************************
384384

385-
In Python, *args and **kwargs are special syntaxes used to pass a variable number of arguments to functions. These notations provide flexibility when working with functions that can accept an arbitrary number of arguments. This article dives into the details of *args and **kwargs and explores their uses and benefits.
385+
In Python, \*args and \**kwargs are special syntaxes used to pass a variable number of arguments to functions. These notations provide flexibility when working with functions that can accept an arbitrary number of arguments.
386+
This article dives into the details of \*args and \**kwargs and explores their uses and benefits.
386387

387388
**🌟 *args: Variable-Length Arguments**
388389

389-
The *args syntax allows a function to accept a variable number of non-keyword arguments. It collects the arguments passed to the function into a tuple, enabling the function to handle any number of positional arguments.
390+
The \*args syntax allows a function to accept a variable number of non-keyword arguments. It collects the arguments passed to the function into a tuple, enabling the function to handle any number of positional arguments.
390391

391392

392393
.. code:: python
@@ -405,7 +406,7 @@ In the above code, the function `sum_numbers` accepts any number of arguments. T
405406

406407
**🔧 kwargs : Variable-Length Keyword Arguments**
407408

408-
The **kwargs syntax, on the other hand, enables a function to accept a variable number of keyword arguments. It collects the keyword arguments passed to the function into a dictionary, allowing the function to handle a flexible set of named arguments.
409+
The \**kwargs syntax, on the other hand, enables a function to accept a variable number of keyword arguments. It collects the keyword arguments passed to the function into a dictionary, allowing the function to handle a flexible set of named arguments.
409410

410411

411412
.. code:: python
@@ -418,11 +419,11 @@ The **kwargs syntax, on the other hand, enables a function to accept a variable
418419
print_details(city="London", country="UK", occupation="Engineer") # Output: city: London, country: UK, occupation: Engineer
419420
420421
421-
In the above code, the function `print_details` accepts any number of keyword arguments. The `**kwargs` notation collects the key-value pairs and treats them as a dictionary within the function. This allows for flexible handling of named arguments without explicitly defining them.
422+
In the above code, the function `print_details` accepts any number of keyword arguments. The `\**kwargs` notation collects the key-value pairs and treats them as a dictionary within the function. This allows for flexible handling of named arguments without explicitly defining them.
422423

423424
**🎯 Combining *args and **kwargs**
424425

425-
You can also use *args and **kwargs together in a function declaration to handle both positional and keyword arguments simultaneously. This allows for maximum flexibility when designing functions that can accept different types of inputs.
426+
You can also use \*args and \**kwargs together in a function declaration to handle both positional and keyword arguments simultaneously. This allows for maximum flexibility when designing functions that can accept different types of inputs.
426427

427428

428429
.. code:: python
@@ -440,7 +441,7 @@ In the above code, the function `process_data` can handle both positional and ke
440441

441442
**💡 Conclusion**
442443

443-
Understanding *args and **kwargs in Python empowers you to write more flexible and versatile functions. *args enables you to handle an arbitrary number of positional arguments, while **kwargs allows you to handle a variable number of keyword arguments. By combining both notations, you can create functions that are capable of accepting and processing different types of inputs. Utilizing *args and **kwargs expands the capabilities of your code and enables you to build more dynamic and adaptable solutions.
444+
Understanding \*args and \**kwargs in Python empowers you to write more flexible and versatile functions. \*args enables you to handle an arbitrary number of positional arguments, while \**kwargs allows you to handle a variable number of keyword arguments. By combining both notations, you can create functions that are capable of accepting and processing different types of inputs. Utilizing \*args and \**kwargs expands the capabilities of your code and enables you to build more dynamic and adaptable solutions.
444445

445446

446447
8. 🔍 Exploring Context Managers in Python with `with`
@@ -577,7 +578,7 @@ Generators in Python, implemented using the `yield` keyword, provide a powerful
577578

578579

579580
10. ⚡️ Understanding Async and Await in Python: Concurrency Made Easy
580-
*********************************************************************
581+
**********************************************************************
581582

582583
**🔗 What is Async and Await?**
583584

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 2744b96675e189cf6e97ae0f78e91ec2
3+
config: 572d88f4a654c804fb2c0358e32b64e0
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/.doctrees/environment.pickle

320 KB
Binary file not shown.

docs/.doctrees/index.doctree

3.24 KB
Binary file not shown.

docs/.doctrees/modules.doctree

2.46 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)