Skip to content

Commit 2c7b21a

Browse files
committed
Update CHANGES.rst
1 parent aabc930 commit 2c7b21a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ works with both of these:
1313

1414
.. code-block:: python
1515
16-
def say_hello(name: Optional[str]):
16+
def say_hello(name: Optional[str] = None):
1717
print(f'Hello {name}' if name else 'Hello')
1818
19-
def say_hello(name: str | None):
19+
def say_hello(name: str | None = None):
2020
print(f'Hello {name}' if name else 'Hello')
2121
2222
0.5.0

0 commit comments

Comments
 (0)