unicodedata-reader 0.2.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/PKG-INFO +1 -1
  2. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/pyproject.toml +1 -1
  3. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/set.py +6 -3
  4. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/LICENSE +0 -0
  5. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/README.md +0 -0
  6. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/__init__.py +0 -0
  7. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/__main__.py +0 -0
  8. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/bidi_brackets.py +0 -0
  9. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/cli.py +0 -0
  10. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/compressor.py +0 -0
  11. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/east_asian_width.py +0 -0
  12. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/emoji.py +0 -0
  13. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/entry.py +0 -0
  14. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/general_category.py +0 -0
  15. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/line_break.py +0 -0
  16. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/reader.py +0 -0
  17. {unicodedata_reader-0.2.0 → unicodedata_reader-1.0.1}/unicodedata_reader/vertical_orientation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unicodedata-reader
3
- Version: 0.2.0
3
+ Version: 1.0.1
4
4
  Summary:
5
5
  Home-page: https://github.com/kojiishi/unicodedata-reader
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "unicodedata-reader"
7
- version = "0.2.0"
7
+ version = "1.0.1"
8
8
  description = ""
9
9
  authors = ["Koji Ishii <kojii@chromium.org>"]
10
10
  readme = "README.md"
@@ -16,14 +16,17 @@ class Set(object):
16
16
  def __iter__(self) -> Iterable[int]:
17
17
  return self.set.__iter__()
18
18
 
19
- def __isub__(self, other: 'Set') -> None:
19
+ def __isub__(self, other: 'Set') -> 'Set':
20
20
  self.set -= other.set
21
+ return self
21
22
 
22
- def __iand__(self, other: 'Set') -> None:
23
+ def __iand__(self, other: 'Set') -> 'Set':
23
24
  self.set &= other.set
25
+ return self
24
26
 
25
- def __ior__(self, other: 'Set') -> None:
27
+ def __ior__(self, other: 'Set') -> 'Set':
26
28
  self.set |= other.set
29
+ return self
27
30
 
28
31
  def add(self, code: int) -> None:
29
32
  self.set.add(code)