# Difference between two lines in the documentation

**URL:** <https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782>\
**Category:** Beginner Questions\
**Tags:** documentation, python\
**Created:** [February 2, 2022, 11:19pm UTC](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782 "2022-02-02T23:19:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edgar](https://discourse.itk.org/letter_avatar_proxy/v4/letter/e/b487fb/32.png) [@edgar](https://discourse.itk.org/u/edgar)\
**Post date:** [February 2, 2022, 11:19pm UTC](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782/1 "2022-02-02T23:19:43Z")

</div>

Besides the comment lines, can someone tell me what is the difference between these 2? Thanks.

```auto
# Here we specify the filter input explicitly
median = itk.MedianImageFilter.New(reader.GetOutput())
# Same as above but shortened. Input does not have to be specified.
median = itk.MedianImageFilter.New(reader.GetOutput())

```

This comes from the (Quick start guide)[[Quick start guide — ITKPythonPackage documentation](https://itkpythonpackage.readthedocs.io/en/master/Quick_start_guide.html#filter-types)]

For what is worth, I just realised that there is a repo for the Python interface of ITK (separate from the base repo). The corresponding lines are here: [ITKPythonPackage/ImplicitInstantiation.py at 9414dc73f8ca9f29fb607c1f1317901a27d55ae6 · InsightSoftwareConsortium/ITKPythonPackage · GitHub](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/blob/9414dc73f8ca9f29fb607c1f1317901a27d55ae6/docs/code/ImplicitInstantiation.py#L27)

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [February 3, 2022, 2:17pm UTC](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782/2 "2022-02-03T14:17:50Z")

</div>

This was [accidentally refactored](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/commit/523327e5010a5dd380bac50e428a2e37b7479b63#diff-5367d627fff61bd25b8eb268236ed1c1b93cb9d2f4d0765d76da75ecd55f9700L26) last year. [PR 188](https://github.com/InsightSoftwareConsortium/ITKPythonPackage/pull/188) should fix it.

---

<div class="post-metadata">

**Author:** ![edgar](https://discourse.itk.org/letter_avatar_proxy/v4/letter/e/b487fb/32.png) [@edgar](https://discourse.itk.org/u/edgar)\
**Post date:** [February 3, 2022, 2:46pm UTC](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782/3 "2022-02-03T14:46:19Z")

</div>

That really helped me to understand the difference, thank you.
