Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#102 #87 #115

Merged
merged 5 commits into from
Jul 7, 2020
Merged

#102 #87 #115

merged 5 commits into from
Jul 7, 2020

Conversation

williballenthin
Copy link
Collaborator

closes #102
closes #87

@williballenthin williballenthin added bug Something isn't working enhancement New feature or request labels Jul 6, 2020
@@ -22,7 +22,7 @@ def get_args_str(self):

class Offset(Feature):
def __init__(self, value, description=None):
super(Offset, self).__init__([value])
super(Offset, self).__init__([value], description)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes #102

)
value, description = s.split(" = ", 1)
value, _, description = s.rpartition(DESCRIPTION_SEPARATOR)
Copy link
Collaborator Author

@williballenthin williballenthin Jul 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slight change in behavior: parse rightmost =.

(r)partition better expresses the intent, imho

@mr-tz mr-tz merged commit f35263f into master Jul 7, 2020
@mr-tz mr-tz deleted the fix-102 branch July 7, 2020 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

output/doc missing description for offsets Introduce variable DESCRIPTION_SEPARATOR
2 participants