Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDrain committed Apr 17, 2021
1 parent 6c1f935 commit 49c5e86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.1.1

Cleanup

## 1.1.0

- Added: Now supports Python >= 3.5
Expand Down
3 changes: 0 additions & 3 deletions cunumbers/cunumbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
cu_dict = "{0}{1}{0}{2}{0}{3}". format(cu_null, cu_digits, cu_tens, cu_hundreds)

cu_group_regex = "({0}*[{1}]?(?:[{4}]?{3}|[{2}]?[{4}]?))". format(cu_thousand, cu_hundreds, cu_tens[1:], cu_tens[0], cu_digits)
print(cu_group_regex)


def _to_cu_hundred(hundred = 0, group = 0):
Expand Down Expand Up @@ -93,9 +92,7 @@ def _to_arab_number(input = ""):
hundreds = re.split("%s" % (cu_group_regex), sub_result)
while hundreds.count(""): # Purge empty strs from the hundreds collection
hundreds.remove("")
print(hundreds)
hundreds.reverse()
print(hundreds)

result = 0
for i, k in enumerate(hundreds):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = cu-numbers
version = 1.1.0
version = 1.1.1
author = Andrei Shur
author_email = [email protected]
description = Church Slavonic script numbers conversion
Expand Down

0 comments on commit 49c5e86

Please sign in to comment.