docs icon indicating copy to clipboard operation
docs copied to clipboard

[Term Entry] Python Built-in Functions: `super()`

Open Dusch4593 opened this issue 2 years ago • 8 comments

Reason/inspiration (optional)

Please write a term entry** about the super() function that includes the follwoing:

  • A "Syntax" section with ```pseudo code snippet(s)
  • One or two "Example" sections that explain the two common use cases for super().
  • One "Codebyte Example" section with a ```codebyte/python snippet.

**Some content about super() already exists in the Python: Inheritance entry. See comment below for more details.

Please also refer to the term entry template, content standards, and markdown style guide when creating the entry.

Entry Type (select all that apply)

New Term for Existing Concept Entry

Code of Conduct

  • [X] I agree to follow Codecademy Doc's Code of Conduct

For Maintainers

  • [x] Labels added
  • [x] Issue is assigned

Dusch4593 avatar Mar 04 '22 03:03 Dusch4593

It's already covered in Inheritance.

subzjee avatar Mar 11 '22 12:03 subzjee

@subzjee Good catch! That information about super() should be moved into its own entry under "Python: Built-in Functions". Would you like to take this one on?

Dusch4593 avatar Mar 11 '22 14:03 Dusch4593

@Dusch4593 So is this issue just moving a file into a different section of the Python sections. Am I correct?

not-a-ethan avatar May 13 '22 17:05 not-a-ethan

@Dusch4593 So is this issue just moving a file into a different section of the Python sections. Am I correct?

We're looking to write a new term entry for the built-in super() method in Python. @subzjee had previously mentioned that some information about super() already exists in Python: Inheritance.

What I recommend to whomever is assigned this issue is this: let's make a new super/super.md entry under python/concepts/built-in-functions/terms/ and transfer what we can from inheritance.md to the new super.md file.

Dusch4593 avatar May 13 '22 17:05 Dusch4593

I saw that this has been sitting a while, my python is a little rusty since I've been doing mostly javascript, but I'd like to take a crack at this issue if no one else is working on it.

beverand avatar Sep 14 '22 07:09 beverand

@beverand Absolutely! I've assigned this issue to you. Thank you for your interest in contributing to Docs and let us know if have any questions about making/submitting the pull request. 😄

Dusch4593 avatar Sep 14 '22 11:09 Dusch4593

Thank you!

beverand avatar Sep 15 '22 21:09 beverand

@Dusch4593, did I do this correctly?

beverand avatar Sep 16 '22 07:09 beverand