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

Python 2 / 3 compatible imports #394

Merged
merged 1 commit into from Oct 24, 2017
Merged

Python 2 / 3 compatible imports #394

merged 1 commit into from Oct 24, 2017

Conversation

rudaporto
Copy link
Contributor

No description provided.

@@ -441,7 +442,7 @@ def translate(msgid, domain='plone', lang=None):
:param lang: target language
:type lang: string
:returns: translated message
:rtype: unicode
:rtype: six.text_type
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

This is a docstring and it seems weird to have six.text_type end up in the documentation. But that is documentation for developers, so I guess it is okay.

There is one test failure on Plone 5.1, but that is an unrelated one that has meanwhile been fixed.
Seems good to merge. I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants