![](https://secure.gravatar.com/avatar/d67ab5d94c2fed8ab6b727b62dc1b213.jpg?s=120&d=mm&r=g)
March 17, 2019
10:13 a.m.
On Mon, Mar 18, 2019 at 1:09 AM francismb <francismb@email.de> wrote:
On 3/15/19 11:09 PM, Chris Angelico wrote:
Python 3.5 introduced the modulo operator for bytes objects. How are you going to write a function that determines whether or not a piece of code depends on this? I'm not sure I understand the question. Isn't *a piece of code* that does a modulo operation on a bytes type object *at least* 3.5 python code ? or needs *at least* that version to run ?
Yes, it will. Can you determine whether some code does this? Can you recognize what kind of object is on the left of a percent sign? Remember, it quite possibly won't be a literal. ChrisA