Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/Adafruit-Raspberry-Pi-Python-Code
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: buckbaskin/Adafruit-Raspberry-Pi-Python-Code
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 3, 2016

  1. Fixes Github Issue 140 on adafruit's fork

    The error was caused by Python3 using floating point division when
    Python2 would use integer division. The change uses a // instead
    of / which forces both languages to use integer division.
    
    In Python2, 10 / 3 gives 3
    In Python3, 10 / 3 gives 3.333333
    
    After the change:
    
    In Python2, 10 // 3 gives 3
    In Python3, 10 // 3 gives 3
    buckbaskin committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    7833e99 View commit details
    Browse the repository at this point in the history
Loading