# What is # = none: 1 = # in expression?

**URL:** <https://discourse.julialang.org/t/what-is-none-1-in-expression/71355>\
**Category:** General Usage\
**Tags:** question, generator\
**Created:** [November 11, 2021, 11:22pm UTC](https://discourse.julialang.org/t/what-is-none-1-in-expression/71355 "2021-11-11T23:22:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrey2185](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrey2185/32/9889_2.png) [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Post date:** [November 11, 2021, 11:22pm UTC](https://discourse.julialang.org/t/what-is-none-1-in-expression/71355/1 "2021-11-11T23:22:05Z")

</div>

Hellow!  
what is # = none: 4 = #, is it possible to create an expression without this?  
or is bad idea to generate src-files based on expressions?

```julia
julia> ex = quote
           x = 1
           y = 2
           x + y
       end
quote
    #= none:2 =#
    x = 1
    #= none:3 =#
    y = 2
    #= none:4 =#
    x + y
end

```

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [November 11, 2021, 11:34pm UTC](https://discourse.julialang.org/t/what-is-none-1-in-expression/71355/2 "2021-11-11T23:34:03Z")

</div>

That’s a line number node — the `none` is a stand-in for the filename, which you don’t have since you’re at the REPL, and the number is the line.

You can strip them out with `Base.remove_linenums!`:

```julia
julia> Base.remove_linenums!(ex)
quote
    x = 1
    y = 2
    x + y
end

```

---

<div class="post-metadata">

**Author:** ![andrey2185](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrey2185/32/9889_2.png) [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Post date:** [November 11, 2021, 11:51pm UTC](https://discourse.julialang.org/t/what-is-none-1-in-expression/71355/3 "2021-11-11T23:51:41Z")

</div>

thanks!
