Skip to content

Adds !r conversion flag to line 1#4

Closed
josharcheruk wants to merge 1 commit intozedshaw:masterfrom
josharcheruk:patch-1
Closed

Adds !r conversion flag to line 1#4
josharcheruk wants to merge 1 commit intozedshaw:masterfrom
josharcheruk:patch-1

Conversation

@josharcheruk
Copy link

Study drill two in this exercise relies, as currently formatted, on the use of the original %r format string. This commit proposes to use the !r conversion flag available in Python 3.6 to replicate this behaviour and allow study drill 2 to be kept in it's current form as it is a useful drill to learn.

This change also supports a proposed change/request for clarification regarding exercise 6 (which I won't list here as this pull request doesn't close it) which seeks to introduce the use of conversion flags early in the course.

Study drill two in this exercise relies, as currently formatted, on the use of the original %r format string. This commit proposes to use the !r conversion flag available in Python 3.6 to replicate this behaviour and allow study drill 2 to be kept in it's current form as it is a useful drill to learn.

This change also supports a proposed change/request for clarification regarding exercise 6 (which I won't list here as this pull request doesn't close it) which seeks to introduce the use of conversion flags early in the course.
@zedshaw
Copy link
Owner

zedshaw commented Mar 15, 2018

Actually no this would overly complicate that exercise at this point. I'll just leave it as it is for now.

@zedshaw zedshaw closed this Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants