Git Product home page Git Product logo

mcoding-all-dunders's Introduction

mCoding All Dunders Video

Contributing

If you'd like to add a code example, make sure it has not already been done or is in progress (see the spreadsheet or the Issues tab for reference). Once you have confirmed that, open an issue for the dunder(s) you'd like to add examples for. When you're done, simply make a PR!

Submission guidelines

  • The code has to be PEP8-compliant and lines must be at most 80 chars long
  • Typehints are not necessary (unless needed for the example to work)
  • Examples can include multiple dunders if they go together
  • The code should be a minimal working example that uses the dunder(s)

When submitting code for the __cool_dunder__ dunder, name the file cool_dunder.py (basically strip the underlines). When submitting multiple dunders in one example, you can:

  • use the dunder name that's the most important/widely used, e.g. name.py when adding __name__ and __qualname__
  • use a name that easily describes all of them, e.g. comparisons.py when adding __gt__, __le__, etc.

The file should be put in the corresponding folder inside src, e.g. a __post_init__ example should be located in src/library-lagoon/post_init.py (see categories in the spreadsheet).

mcoding-all-dunders's People

Contributors

fuexfollets avatar lunarmagpie avatar micaeljarniac avatar trag1c avatar

Watchers

 avatar

mcoding-all-dunders's Issues

Closed 13

where weak list head is stored in the type

Closed 11

byte offset of dict attribute if it exists

Closed 15

code object representing bytecode for func body, writable

Closed 17

function object back from instance method

Closed 12

where vectorcall is stored in the type

Closed 19

writable dict containing defaults for keyword-only parameters

Closed 18

readonly attrib, dict of global namespace func was defined in

Closed 20

writable, name of the module func was defined in

Closed 16

tuple of default values for (positional or kw) params

Closed 14

readonly, contains bindigs for func free vars

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.