Comments (2)
The alternative is to put number
in code font so it's clear it's the argument.
from effectivepython.
This will be fixed in the next printing.
from effectivepython.
Related Issues (20)
- Item 45 Flawed code when delta is less than zero HOT 1
- Item 11: The result of slicing a list is a whole new list... HOT 2
- syntax highlighting missing - page 5 HOT 1
- Item #9: Incorrect indentation for return statement in coprime_alternate function HOT 1
- Item 63: "WriteThread" class implementation HOT 2
- Item 51: decorator isn't applied to `dict.__setitem__` method HOT 2
- bytes.encode/str.decode -> str.encode/bytes.decode? HOT 1
- item_57.py HOT 2
- Item 5: Code example missing indent HOT 2
- Item 3: (page 10, first line) Use of bytes and str types should be the other way round HOT 1
- Item 78: page 373, wrong cross-reference: says “see Item 76”, should be “see Item 77” HOT 1
- Item 78: page 374, wrong function name: says `feed_func`, should be `feed_animal` HOT 2
- Item 35, pages 136 & 137: `while` loop does not break at 0, needs another `break` statement HOT 3
- Item 36, page 140: logical error in the definition of `dropwhile` HOT 1
- Item 47, pages 199 & 200: error in code snippet: `data` param value is never assigned to the protected `_data` attribute HOT 2
- Item 3, page 9, 2nd edition: "%s" invokes `__str__` if there's `__str__` else `__repr__` HOT 1
- Item 6: Functions need return statement HOT 2
- Item 51: Possible logic mistake, needs clarification HOT 1
- Item 37: unused variable in for loop HOT 1
- Please Delete. Issue resolved. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from effectivepython.