New submission from Ashish Nitin Patil:
Current documentation lacks the example of usage with dictionary keys.
e.g. `itemgetter('sample')({'sample': True, 'How about this': 'Nope'})`
--
assignee: docs@python
components: Documentation
messages: 30
Ashish Nitin Patil added the comment:
Thank you Berker & Skip for your review & additional inputs.
I have added a (probably not so good) unittest for testing the newly added
*return*.
I have also added the corresponding *versionchanged* info to the documentation
as suggested by Berke
Ashish Nitin Patil added the comment:
Also, I noticed in the documentation for `csv.DictWriter`
(https://docs.python.org/3/library/csv.html#csv.DictWriter.writeheader) does
not contain the following line -
to the writer's file object, formatted according to the current dialect.
Alt
Ashish Nitin Patil added the comment:
Hi, I have added the "return" to the writeheader method. I ran the tests for
the csv library (./python -m test -v test_csv) and got no errors (Ran 101 tests
in 0.322s; 1 test OK.).
Kindly review the patch.
--
keywords: +
Ashish Nitin Patil added the comment:
Always happy to contribute! My first! Looking forward to getting accustomed to
it & doing my part for python.
--
___
Python tracker
<http://bugs.python.org/iss
Ashish Nitin Patil added the comment:
Just added my name to the Misc/ACKS.
--
Added file: http://bugs.python.org/file28250/faq+ack.patch
___
Python tracker
<http://bugs.python.org/issue14
Ashish Nitin Patil added the comment:
Made most of the relevant changes & updation to the FAQ.
1. Updated references to Windows 7/XP/Vista & dropped all references &
solutions on older Windows.
2. Also, many of the ending FAQs like cw3215mt.dll, CTL3D32 were completely
dropped as
Ashish Nitin Patil added the comment:
Found this - http://docs.python.org/3/using/windows.html
Seems like my work got a bit easy. Need to truncate the bits & bytes oof the
document so as to fit with FAQ system. I think I will also need to do changes
to the official wiki (online) too. Any
Ashish Nitin Patil added the comment:
Is anyone currently working on this issue? I am a newbie & am really looking
forward to contributing, but, quite unsure of what exact changes need to be
made to the FAQ documentation. The previous comments are very helpful & I am
going to proceed