Skip to content

Change ambiguous description of backoff_factor#1436

Merged
sethmlarson merged 1 commit intourllib3:masterfrom
Mattwmaster58:patch-1
Sep 9, 2018
Merged

Change ambiguous description of backoff_factor#1436
sethmlarson merged 1 commit intourllib3:masterfrom
Mattwmaster58:patch-1

Conversation

@Mattwmaster58
Copy link
Copy Markdown
Contributor

Change from ^ to **. Programmers not familiar with python might assume the ^ is the exponent operator, when in fact it is the bitwise XOR operator. This change will remove the ambiguity.

Change from `^` to `**`. Programmers not familiar with python might assume the ^ is the exponent operator, when in fact it is the bitwise XOR operator. This change will remove the ambiguity.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Sep 8, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@e38125d). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #1436   +/-   ##
========================================
  Coverage          ?    100%           
========================================
  Files             ?      21           
  Lines             ?    1790           
  Branches          ?       0           
========================================
  Hits              ?    1790           
  Misses            ?       0           
  Partials          ?       0
Impacted Files Coverage Δ
src/urllib3/util/retry.py 100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e38125d...d04dbda. Read the comment docs.

Copy link
Copy Markdown
Member

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

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

I agree that this change is definitely better in a Python context. Thanks for this! 🎉

@sethmlarson sethmlarson merged commit 1821e73 into urllib3:master Sep 9, 2018
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
Change from `^` to `**`. Programmers not familiar with python might assume the ^ is the exponent operator, when in fact it is the bitwise XOR operator. This change will remove the ambiguity.
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.

3 participants