Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
waketzheng committed May 31, 2024
1 parent d74372b commit 69ea606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixed

- Fix mypy errors when using tomlkit to modify toml document. ([#326](https://github.com/python-poetry/tomlkit/issues/326))
- Fix the incompatiblity with 3.13 because of the `datetime.replace()` change. ([#333](https://github.com/python-poetry/tomlkit/issues/333))
- Revert the change of parsing out-of-order tables. ([#347](https://github.com/python-poetry/tomlkit/issues/347))

Expand Down
4 changes: 3 additions & 1 deletion tomlkit/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ def __reduce_ex__(self, protocol):
return self.__class__, self._getstate(protocol)

# Leave it here to improve type hint for `tomlkit.parse`
# For example: `tomlkit.parse('pyproject.toml')['tool']['poetry']`
# For example:
# doc = tomlkit.parse(Path('pyproject.toml').read_text())
# print(doc['tool']['poetry'])
def __getitem__(self, key) -> Any:
raise NotImplementedError()

Expand Down

0 comments on commit 69ea606

Please sign in to comment.